Recent Posts

Pages: 1 ... 8 9 [10]
91
SlickEdit® / Can we add/create directories within SLickEdit ?
« Last post by jcelle on January 15, 2022, 03:20:24 pm »
Hello,
Today I wanted to add a directory to my project within SlickEdit : in the "Projects" pane I right-clicked an existing directory under which I wanted to create another one. I picked the "Add" option and the next menu shows a list where "Folder" option is disabled.
Any hint here ?
Adding a screenshot.
92
SlickEdit User Macros / Re: xretrace and xxutils V2.20 / includes plugins for slick V26
« Last post by Graeme on January 15, 2022, 10:57:35 am »
This plugin is really too good, thank you very much.

Thanks.  Let me know if you have any problems or suggestions.
93
SlickEdit® / Re: Loading a .e file from a read-only directory?
« Last post by Graeme on January 15, 2022, 10:51:10 am »
How to get a user to load a .ex file? Would I need 2 different .ex files due to some users running the previous SlickEdit release?

Can't make the directory writable.

Yes you would need two different ex files.  If the ex file has a newer time/date than the source then slick won't recompile it.  You could get some undesirable behaviour if the wrong ex file is used.  You can check the version at compile time like this
#if __VERSION__ < 25

and at runtime like this
   if (_version_compare(_version(), "23.0.0.0") > 0)  {
      // version 23 onwards have a built in command
      load_named_layout();
      return;
   }

94
This plugin is really too good, thank you very much.
95
SlickEdit® / Re: Is there a key like Vim CTRL I/CTRL O?
« Last post by niexin.liu on January 15, 2022, 04:14:10 am »
You can use the xretrace plugin from the first post in this thread
https://community.slickedit.com/index.php/topic,18320.msg72266.html#msg72266

If you have slickedit V26 or later you can use the plugin, otherwise use the zip file.

For the zip file version
Quote
Installation
Unzip the supplied zip file xretrace-vx.xx-slick-v-xx-x-x.zip into your configuration folder. This will create
a UserMacros folder (if it's not already there) containing an xretrace folder.
e.g.
…/SlickConfig/25.0.2/UserMacros/xretrace/
Open xretrace.e in slickedit and load it using the "Load module" command in the "Macro" menu. A
single "ex" file is created - xretrace.ex.
After loading, check that xretrace.ex in the xretrace folder has been rebuilt.

Thank you very much. I'm trying.
96
SlickEdit® / Re: Is there a key like Vim CTRL I/CTRL O?
« Last post by Graeme on January 15, 2022, 03:02:01 am »
You can use the xretrace plugin from the first post in this thread
https://community.slickedit.com/index.php/topic,18320.msg72266.html#msg72266

If you have slickedit V26 or later you can use the plugin, otherwise use the zip file.

For the zip file version
Quote
Installation
Unzip the supplied zip file xretrace-vx.xx-slick-v-xx-x-x.zip into your configuration folder. This will create
a UserMacros folder (if it's not already there) containing an xretrace folder.
e.g.
…/SlickConfig/25.0.2/UserMacros/xretrace/
Open xretrace.e in slickedit and load it using the "Load module" command in the "Macro" menu. A
single "ex" file is created - xretrace.ex.
After loading, check that xretrace.ex in the xretrace folder has been rebuilt.

97
SlickEdit® / Re: Is there a key like Vim CTRL I/CTRL O?
« Last post by niexin.liu on January 15, 2022, 02:43:51 am »
I found that I could jump between different files using 'back' and 'forward'.

In the same file, how to repeatedly jump?
98
SlickEdit® / Is there a key like Vim CTRL I/CTRL O?
« Last post by niexin.liu on January 15, 2022, 01:29:01 am »
Hi all,
Is there a key like Vim CTRL I/CTRL O?
I can't find it.
Can you help me?

vim help:
                                                        CTRL-O                                                                                                                                                                                                                                                             
CTRL-O                  Go to [count] Older cursor position in jump list
                        (not a motion command).
                        {not available without the +jumplist feature}

<Tab>           or                                      CTRL-I <Tab>
CTRL-I                  Go to [count] newer cursor position in jump list
                        (not a motion command).
                        {not available without the +jumplist feature}

                        NOTE: In the GUI and in a terminal supporting
                        modifyOtherKeys, CTRL-I can be mapped separately
                        from <Tab>, on the condition that CTRL-I is
                        mapped before <Tab>, otherwise the mapping applies to
                        both.

                                                        :ju :jumps
:ju[mps]                Print the jump list (not a motion command).
                        {not available without the +jumplist feature}

99
SlickEdit User Macros / Re: Is there a size limitation on a macro
« Last post by Dennis on January 14, 2022, 10:45:37 pm »
There is no limit on the number of lines.  In fact, the error you get when a Slick-C macro is to large is "code size too large", indicating the amount of byte code generated exceeds the limit.

#include works like a C++ #include, so that is not going to cut the code size any.  But, if you break it into two modules, you can have the main module #import the other module.
100
SlickEdit User Macros / Re: Is there a size limitation on a macro
« Last post by Graeme on January 14, 2022, 10:41:28 pm »
You could try splitting in two and #including one of them into the other.  I don't know if this would work.  It depends where slickedit applies the limit.

You could also pre-process the file and look for lines ending in semi-colon  - then join the next line to the current line by removing the line ending  -  CR LF.  You can use the slick join_line command for this.

e.g. record a macro to search for semi-colon [whitespace] at the end of a line then call join_line.
 
Pages: 1 ... 8 9 [10]