Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Focus moves away from editor on Linux edition
« Last post by MrPolite on Today at 09:33:52 pm »
Hello,
This has been extremely frustrating for me and I can't find a setting to control it.  ::)If I switch away from SlickEdit to another program on linux, and then switch back to SlickEdit, the focus moves away from the code editor to the project dialogue. Each time I switch back I have to click on the editor again or press Escape to bring the focus back to the editor. Is there any way to fix this?
2
Features and/or Improvements / Re: Helpfile request: Regex
« Last post by Clark on Today at 09:06:20 pm »
This will be split up for v23. It was definitely way too long.
3
SlickEdit® / Re: Binding numpad keys for selection
« Last post by jporkkahtc on Today at 08:44:11 pm »
On Windows 10, I get different results, that also seem wrong.
With numlock off, the numpad end key gives End, shift end gives Shift+End.
With numlock on, the numpad end key gives Pad1, shift end gives End.

For comparison: AutoHotKey on Windows can detect the difference
With numlock off, the numpad end key PadEnd and ShiftPadEnd
With numlock on, the numpad end key gives Pad1 and PadEnd.
AHK cannot distinguish between NumLock+Shift+Pad1 and NoNumLock Pad1: Both produce PadEnd.

4
SlickEdit® / syntax coloring for YAML/YML
« Last post by acmemike on Today at 06:14:34 pm »
yaml is used for kubernetes/docker - no support for syntax coloring YML/YAML?
5
SlickEdit® / Re: Binding numpad keys for selection
« Last post by Clark on April 24, 2018, 05:55:33 pm »
What OS are you running?
6
SlickEdit® / Re: What happened to tabbed window w multiple files?
« Last post by Dan on April 24, 2018, 04:07:08 pm »
I think the zoom toggle is all you really needed.

Most people want one file per window - this is how most Windows apps behave.  Having a window share multiple files has power, but it's sort of an old school way to do things.  For example, those of us who used text mode SlickEdit 24 or 25 years ago, some of us refuse to give in ;)

zoom-toggle can be really useful when you're looking at a file in a smaller window, and you want to take up the whole editor with it so you can see more.
7
SlickEdit® / Re: What happened to tabbed window w multiple files?
« Last post by MichaelBate on April 24, 2018, 04:03:25 pm »
I appear to have solved this, but it is certainly not intuitive.  I selected "One File per Window" and then clicked (from the main menu) on Window/Zoom Toggle.

My thanks to everyone who responded.
8
SlickEdit® / Re: What happened to tabbed window w multiple files?
« Last post by davehohl on April 24, 2018, 03:30:45 pm »
Oh yeah. If you accidentally double-click in the file's tab, it automatically zooms it and the other tabs disappear. I get caught by this behavior quite often.
9
SlickEdit® / Re: What happened to tabbed window w multiple files?
« Last post by Dan on April 24, 2018, 12:55:37 pm »
I changed to  "Multiple files share window" but does not solve the problem. (Actually was Tools>Options>Editing>Editor Windows)

I suspect (but I don't know for sure) that you want One file Per Window and what Graeme said (zoom-window).
10
SlickEdit® / Re: Binding numpad keys for selection
« Last post by Graeme on April 24, 2018, 11:59:53 am »
You could try binding Shift+Pad1 to this macro.  I'm not sure if this is the best way to do it.  I tried using call_key instead of call_event but I couldn't get it to work.

Code: [Select]
_command void my_shift_end() name_info(',')
{
   call_event(p_window_id, s_end);
}

or alternatively, record a macro and press shift+end - then bind to shift+pad1

Code: [Select]
_command last_recorded_macro() name_info(','VSARG2_MARK|VSARG2_REQUIRES_EDITORCTL)
{
   _macro('R',1);
   deselect();
   _select_char('','E');
   end_line();
   select_it("CHAR",'','E');
}
Pages: [1] 2 3 ... 10