Recent Posts

Pages: 1 ... 8 9 [10]
91
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?
92
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}

93
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.
94
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.
 
95
SlickEdit User Macros / Re: Is there a size limitation on a macro
« Last post by Dennis on January 14, 2022, 09:27:43 pm »
The size limitations have been increased in more recent versions of SlickEdit.

The other option is to break the macro down into sub-modules.

If the module contains a lot of string data, you should consider loading the data from a data file, because lots of strings can lead to using a lot of macro byte code space.
96
SlickEdit User Macros / Is there a size limitation on a macro
« Last post by seeplusplus on January 14, 2022, 08:14:50 pm »
I am trying to load a macro built on another machine. But, if the size is above 3800 lines, I get "Runtime Error Position Found".

Is there a fix for that?


SlickEdit 2012 (v17.0.2.0 64-bit)

Serial number: FWB922119
Licensed number of users: 750
License server: 27100@license-wan-sd1

Build Date: August 09, 2012
Emulation: Visual C++ 6

OS: Windows 8 x64
OS Version: 6.02.9200 
Memory: 52% Load, 10606MB/20300MB Physical, 14056MB/41804MB Page File, 37553MB/134217727MB Virtual
Shell Info: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080

Project Type: Cpp
Language: .e (Slick-C)
97
SlickEdit® / Re: Loading a .e file from a read-only directory?
« Last post by Graeme on January 14, 2022, 08:08:49 pm »
xretrace help has some information on how to create a plugin.
I didn't test the plugin much with slick V25.
98
Features and/or Improvements / Re: Python debugger, Locals, types
« Last post by Dennis on January 14, 2022, 02:32:37 pm »
There is a "Type" column, I'll file a feature request to add support for it for Python.
99
Features and/or Improvements / Re: Debugger: Support Ctrl+C in Locals tool
« Last post by Dennis on January 14, 2022, 02:24:28 pm »
That is not a bad idea.  I'll add a feature request to our bug database. 

Also there is a right-click menu in Locals which has several options for copying or saving items.
100
SlickEdit® / Re: Loading a .e file from a read-only directory?
« Last post by Dennis on January 14, 2022, 02:20:18 pm »
You could use the hotfix mechanism using the create-hotfix command, it takes a list of macro files as arguments.
Code: [Select]
   create-hotfix work/mymacro.e work/yourmacro.e work/ourmacro.e work/theirmacro.e

Clark might give you instructions on how to create a plugin.
Pages: 1 ... 8 9 [10]