[Github-comments] Re: [geany/geany] Geany takes \n as 'n' in search/replace whole words only. It should treat new lines as '\n' search only (Issue #3875)

2024-05-19 Thread elextr via Github-comments
To add to @eht16 comment, search replace does not understand the context of what it is editing, it does not see a programming language string in which `\n` means newline, it just sees text characters `\` and `n`. -- Reply to this email directly or view it on GitHub:

[Github-comments] Re: [geany/geany] Geany takes \n as 'n' in search/replace whole words only. It should treat new lines as '\n' search only (Issue #3875)

2024-05-19 Thread Enrico Tröger via Github-comments
I wonder if this could be too specific? Maybe there are cases where it is legitimite to treat the 'n' in '\n' as whole word if the context does not know about escape sequences. The behavior can be changed by adding '\\' to the `wordchars` settings in `filetypes.common` and the filetype

[Github-comments] Re: [geany/geany] Geany takes \n as 'n' in search/replace whole words only. It should treat new lines as '\n' search only (Issue #3875)

2024-05-19 Thread Enrico Tröger via Github-comments
Closed #3875 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3875#event-12858279682 You are receiving this because you are subscribed to this thread. Message ID: