Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
SlickEdit 2022 v27 Beta Discussion / Re: Increased CPU usage on m1 Mac
« Last post by rjpontefract on August 16, 2022, 03:30:40 am »
Hi Dennis
I grabbed a process sample and a Slick-C profile whilst it was using excessive CPU.  I hope they're of some use to you.
I also noticed that in my case, Heisenberg seems to be one particular source file.  If I have that file as the selected tab, SE uses a lot of CPU, switching to another tab, in this case GitClass.e (opened by the profiler) the CPU usage drops to the normal level I would expect.  The file is a simple WXWindows test file, not much to it, so I've attached that as well.
22
SlickEdit® / Re: "ghost" mode when coming back to SE via alt-tab
« Last post by jporkkahtc on August 15, 2022, 11:00:59 pm »
I've seen this problem occasionally, but I've never had a good repro.
The alt-menu thing was a good hint, I now have a repro!

1. Enable Alt-Menu.
2. Tap Alt
The cursor changes to a block to indicate the mode change. (If you press arrow keys now it affects the menu bar).
3. Alt-Tab to another app
4. Alt-Tab back to slickedit
5. Arrow keys now move the cursor.
6. the "E" key opens the Edit menu.

Repro2:
1. Tap Alt
2. Tab WinKey (opens Start)
3. Tab WinKey (Closes Start)
Slick now in Ghost mode.


Interesting ... starting in Ghost mode
Shift-cursor to select a bit of text.
<E>: Opens Edit Menu
<C>: Copies selection.
Slickedit is still in Ghost mode.


23
SlickEdit 2022 v27 Beta Discussion / Re: Missing horizontal scroll bars
« Last post by Dan on August 15, 2022, 10:35:57 pm »
I'll look into this.
24
SlickEdit 2022 v27 Beta Discussion / Re: Missing horizontal scroll bars
« Last post by Dennis on August 15, 2022, 10:35:46 pm »
Adding horizontal scroll bars for the Open tool window (top tree control), both parts of the Class tool window, the list in the References tool window, and the Symbols tool window, and both Calls and Callers tool windows.

With respect to the key handling, I am adding a largely useless tweak to "left" so that it will scroll back left after it has done all the collapsing that it can do.  I agree with your analysis, but I'm going to leave those decisions to our tree control expert.
25
SlickEdit 2022 v27 Beta Discussion / Re: Scroll %
« Last post by jporkkahtc on August 15, 2022, 09:53:09 pm »
#1:
That sounds OK.
I imagine most people wont care much as long as it appears reasonable.

#2: Slick allows me to enter numbers more than 1 to 200.
I think it would be ok to limit it to 100 -- paging by more than what is visible may not be so useful.

#3: "Cursor to top/bottom" is kind of interesting. I might like that :-)

#4: Why does clicking the down arrow on the scroll bar allow you to continue scrolling past the end of the file?


#5: Set "Cursor to top/bottom".
Ctrl+End
PageDown
Result: The last line of the file is now the 1st (and only) visible line.

#6: I have a file with 1200 lines.
Set "Full Page (maintains scroll position)"
Line 1128 is 1st visible line. (Lines 1128 to 1157, partial 1158)
PageDown (1st line now 1157)
PageDown (1st line now 1186)
Line 1186 is 1st visible line (1186 to 1200), leaving half the page blank.

For comparison, Notepad++
PageDown (1st line now 1157)
PageDown (1st line now 1172 with cursor on line 1157)
Line 1172 is 1st visible line (1186 to 1200) - same as Ctrl+End.
26
SlickEdit 2022 v27 Beta Discussion / Re: Scroll %
« Last post by Dennis on August 15, 2022, 08:57:53 pm »
A few notes here.  100 lines displayed means the 100th line has to be entirely displayed.  I was originally able to reproduce your results because I only really had 99 lines entirely displayed.  A pixel can be the difference here.

There was a calculation error, because, I agree, a percentage promises to be calculated on the number of lines displayed, and it was being calculated on that minus one, which was a normal page jump so that the last visible line became the new top line (see note on what 26.0.3 did in previous post).

This means I had to special case 100% for backward compatibility.  If you have your page percentage set to 99% and you have 100 lines displayed it's going to behave the same as 100%.  The only disadvantage of that is there is no way to configure it to truly page by 100% if you have 100 lines visible.  99% is 99 lines, 100% is 99 lines (compatibility), 101% is 101 lines.
27
SlickEdit 2022 v27 Beta Discussion / Re: Scroll %
« Last post by Dennis on August 15, 2022, 08:10:53 pm »
Reproduced.  26.0.3 (always paged 100%) would produce this sequence starting with line 1:

Line 1, 100, 199, 298, 397, ...

The last line on the screen always became the top line on the screen.

The new code definitely has a rounding error, in that it probably just truncates.
28
SlickEdit 2022 v27 Beta Discussion / Re: Overview bar stack
« Last post by Dennis on August 15, 2022, 08:05:08 pm »
Should be fixed for Beta2.
29
SlickEdit 2022 v27 Beta Discussion / Re: Overview bar stack
« Last post by Dennis on August 15, 2022, 06:52:44 pm »
I was able to reproduce a similar stack.  Thanks for posting.
30
SlickEdit® / Re: DIFFzilla did not save the file
« Last post by Dan on August 15, 2022, 12:52:08 pm »
PM sent.
Pages: 1 2 [3] 4 5 ... 10