Undo a change made in the source-files between v6.5.4 and v6.7
-
Yaron,
just to be sure - you know that a triple click selects the whole line, don’t you?
It needs to getting used to it but maybe a solution.Cheers
Claudia -
Hello Claudia,
Thank you so much. I appreciate your time, patience and perseverance.
Best of luck.Thanks also for the triple-click tip.
I wish you a Happy Easter and a nice weekend. :)
-
Hello Yaron,
I guess you’ve heard about that prejudice that women are curious, haven’t you?
Well, sometimes this is good, especially for you at the moment ;-)My easter egg for you is called …\scintilla\win32\ScintillaWin.cxx
and the line in question is 1370case WM_RBUTTONDOWN: ::SetFocus(MainHWND()); if (!PointInSelection(Point::FromLong(static_cast<long>(lParam)))) { CancelModes(); // SetEmptySelection(PositionFromLocation(Point::FromLong(static_cast<long>(lParam)))); } break;
if commented, and scintilla has been rebuild your left/right-click works again.
Cheers
Claudia -
Hello Claudia,
The worse prejudice on my part is that in spite of your first name I assumed I was corresponding with a man.
Claudia, women of the world (unite!) - please forgive me.
From now on it’s Shirley Holmes!Thank you so much for the delicious Easter Egg.
May I ask you to help me open it? :)How do I rebuilt Scintilla?
Should I open SciLexer.vcxproj in scintilla\win32?
And then, rebuild NPP?Best regards.
-
Hi Yaron,
The worse prejudice on my part is that in spite of your first name I assumed I was
corresponding with a man.??? - I don’t get the meaning of it. Did you simply ignore my first name or did you
think I’m a man using a female name? Of course, you cannot be sure who your counterpart
is, it might be that even your husband is communicating with you and you don’t realize it ;-)Claudia, women of the world (unite!) - please forgive me.
Why? Even if you thought I’m a man hidding its real name - how should you know.
There is nothing to forgive as you are always decent.From now on it’s Shirley Holmes!
:-) - That’s really too much.
How do I rebuilt Scintilla?
Should I open SciLexer.vcxproj in scintilla\win32?I always use nmake to built scintilla as described here.
You need to download boost, built the librarys and then built scintilla.
Of course, this commands need to be executed from within the developer command prompt.
(…Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts…)And then, rebuild NPP?
No, not needed. Just copy over the new created SciLexer.dll
Cheers Claudia
-
Hello Claudia,
Thank you for your kind words and attitude.
Being a straight man, I’m spared the fear of unknowingly communicating with a husband.
Being a bachelor, I don’t have to worry about a wife either. :)
But this screen-to-screen world is indeed uncertain.
I did not ignore your first name; for a reason which undoubtedly deserves some further analysis, my assumption as to your gender was wrong. :)
Allow me to thank you again for your invaluable help.
May I ask it yet again?
As I probably won’t make any further changes in the Scintilla source code, would you be kind enough to upload the modified SciLexer.dll?
I’d be truly grateful.Best regards.
-
-
Hello Claudia,
That’s a Faberge Easter egg!
Thank you so much. Your intelligence and kindness are unique.Can you think of any possible downsides (i.e. functionalities which might break as a result of the change)?
Best regards.
-
Hi Yaron,
Can you think of any possible downsides (i.e. functionalities which might break as a result of the change)?
Hmmm, no, not really. The code is as follows
case WM_RBUTTONDOWN: ::SetFocus(MainHWND()); if (!PointInSelection(Point::FromLong(static_cast<long>(lParam)))) { CancelModes(); // SetEmptySelection(PositionFromLocation(Point::FromLong(static_cast<long>(lParam)))); } break;
So the only thing we do is to prevent scintilla from calling SetEmptySelection,
which itself does just some basic stuff like clearing selection and other related calls.You know, I’m a c++ noop so I might be wrong, but tbh, I would be very surprised if this change
causes some problems.Cheers
Claudia -
Hello Claudia,
Great.
Many thanks again. I do appreciate it.Best regards.