Hi All
I use Geany 1.32 on linux mint, i want to found a way to highlight the line where the needle is found while using searching tools.
It seem's the highlighting is only applied when editor have focus, and in this case, focus is on the search window.
Maybe having another indicator like an arrow near line number will be useful.
Thanks
Jérôme
On 5 April 2018 at 17:06, Jérôme Andanson via Users users@lists.geany.org wrote:
Hi All
I use Geany 1.32 on linux mint, i want to found a way to highlight the line where the needle is found while using searching tools.
It seem's the highlighting is only applied when editor have focus, and in this case, focus is on the search window.
The Scintilla editing widget Geany uses has the ability to make the current line highlight visible always, focus or not, but its is one of a number of Scintilla settings Geany doesn't expose. It is just a matter of programming, but somebody has to do it.
Maybe having another indicator like an arrow near line number will be useful.
Thanks
Jérôme _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Le 05/04/2018 à 10:05, Lex Trotman a écrit :
On 5 April 2018 at 17:06, Jérôme Andanson via Users users@lists.geany.org wrote:
Hi All
I use Geany 1.32 on linux mint, i want to found a way to highlight the line where the needle is found while using searching tools.
It seem's the highlighting is only applied when editor have focus, and in this case, focus is on the search window.
The Scintilla editing widget Geany uses has the ability to make the current line highlight visible always, focus or not, but its is one of a number of Scintilla settings Geany doesn't expose. It is just a matter of programming, but somebody has to do it.
Thanks, I'm very glad to know it's possible, so we can create an issue (feature request) in github for this ? Where will be the better place for exposing this setting ?
Maybe having another indicator like an arrow near line number will be useful.
Thanks
Jérôme _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 7 April 2018 at 18:05, Jérôme Andanson via Users users@lists.geany.org wrote:
Le 05/04/2018 à 10:05, Lex Trotman a écrit :
On 5 April 2018 at 17:06, Jérôme Andanson via Users users@lists.geany.org wrote:
Hi All
I use Geany 1.32 on linux mint, i want to found a way to highlight the line where the needle is found while using searching tools.
It seem's the highlighting is only applied when editor have focus, and in this case, focus is on the search window.
The Scintilla editing widget Geany uses has the ability to make the current line highlight visible always, focus or not, but its is one of a number of Scintilla settings Geany doesn't expose. It is just a matter of programming, but somebody has to do it.
Thanks, I'm very glad to know it's possible, so we can create an issue (feature request) in github for this ?
Anything can be requested, its very rare for requests to be rejected, more usually they await somebody who wants them enough to implement them.
Where will be the better place for exposing this setting ?
Not sure what you meant here, so two answers:
1) yes github is the best place
2) probably the best place for the setting is in preferences->editor->features since editor->display which is its natural home is a bit full, but an issue would be the place to bikeshed it.
Maybe having another indicator like an arrow near line number will be useful.
Thanks
Jérôme _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
I'm not sure I understand your question, but... You want to highlight the "current line" - where the "cursor" is (that you call "the needle")? Is that correct? In Geany themes, the cursor is called the caret (even though
In the geany theme, the "current_line" property controls *if* AND what color is used for background. Notice in the Himbeere.conf theme, he uses "current_line=;#000;true" He's setting only the 2nd argument (using ;#000;true), but since the current line color is near or = the normal background color, the currently selected line color doesn't show up.
Conversely, on a light background theme (assume white), if you use "current_line=;#DCFEDC;true" that gives a pale green background for currently selected line.
I see now that the BG color (2nd argument) used in marker_line, gets replaced w/ the "current_line" color, once the mouse cursor moves over Geany's main display. So if you want the current line to be colored, choose a current_line color that contrasts just enough to see against the theme's normal background, but not so dark that it obscures some text colors.
Another thing - if you / anyone has trouble finding the super thin cursor, it can be made "bold" - which makes it several times wider than default size. caret=#09A709;#000;true;false makes a dark green, wide cursor that covers most of a normal sized letter or number. Some may not like the cursor that doesn't "fit between" 2 letters. But w/ a fat cursor (that's easy to find), the next character you type is placed before the character that the fat cursor highlights. Some programs call that a "block" style cursor & the other thin line is just the thinnest line that can be drawn and still visible to the naked human eye . :D
On 04/05/2018 02:06 AM, Jérôme Andanson via Users wrote:
Hi All
I use Geany 1.32 on linux mint, i want to found a way to highlight the line where the needle is found while using searching tools.
It seem's the highlighting is only applied when editor have focus, and in this case, focus is on the search window.
Maybe having another indicator like an arrow near line number will be useful.
Thanks
Jérôme _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
@bendov, as the OP says, current line highlighting is removed when focus is removed from the editing window. It doesn't matter what its set to.