Underscores are frequentely used in names of procedures or variables
therefore it would be great if those are considered to be a part of the string, so that when one makes a selection by
the whole string is selected in one time :-)
(feel free to send me a few pointers ;-) )
Hello I am a beginner I would like to work on this as my first hack.
Can you guide me where should I start.
Hello, I would like to take up this one. Can you please guide me the files I need to look into. Thanks
Hi, thanks a lot for willing to look into this one!
As you see, indeed there are no code pointers here.
I fail time - alas - to do that.
So if you have no idea yourself, from some earlier experience, maybe it's better to start with issues that _do_ have code pointers. Many of the reported easyHacks do have that.
Migrating Whiteboard tags to Keywords:(needDevEval -> needsDevEval)
(Harmonize spelling of term)
Any progress on this?
Problem is still there in 18.104.22.168.alpha0+ (2017-05-2).
According to the Open Office Basic guide, underscores *are* explicitly permitted in identifiers (called "markers" in the guide). The IDE should include underscores when double-clicking on an identifier.
The OP was very polite by marking this as an "enhancement" request, but I think it is legitimately a bug because the "spec" (if we can call it that) says that underscores are supposed to be allowed in identifiers.
And they aren't fully allowed, since identifiers containing them can not be (easily) selected in the IDE
Arch Linux 64-bit
Build ID: 37fc9f51a8de11d40632e8cda17ccf1fa4b1f503
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3;
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Built on 6 August 2019
This bug needs a change in the word boundaries definition in https://opengrok.libreoffice.org/xref/core/i18npool/source/breakiterator/data/
However, if we change the word boundaries definition it affects LO SW, CALC, etc. as well, and there the behaviour of not selecting an underscore or low line is correct.
Any other programming IDE selects the underscore if you double click.
Another way is to expand the selection in https://opengrok.libreoffice.org/xref/core/vcl/source/edit/textview.cxx?r=c7ea7664#752 if the String contains an underscore till some whitespace appears.
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":
tdf#57879 - Expand word boundaries to include connector punctuations
It will be available in 7.0.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.