These are two improvements of the comments discussed in #3413:
1. The indented `#command_example();` in ```ini # set to false if a comment character/string should start at column 0 of a line, true uses any # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d #command_example(); # setting to false would generate this # command_example(); # This setting works only for single line comments comment_use_indent=true ``` isn't a valid conf file line as `#` should be placed at the beginning of the line. This makes Scintilla to render `#command_example();` as if it weren't a comment. This patch changes this to ```ini # set to false if a comment character/string should start at column 0 of a line, true uses any # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d # #command_example(); # setting to false would generate this # # command_example(); # This setting works only for single line comments ```
2. The patch replaces the not-very-English-sounding ```ini # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ``` with the following description from the documentation: ```ini # these characters define word boundaries when making selections and searching # using word matching options #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ``` You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3428
-- Commit Summary --
* Place # at the beginning of the line with the example in filetype conf files * Reword "wordchars" description using the description from the manual
-- File Changes --
M data/filedefs/filetypes.Arduino.conf (4) M data/filedefs/filetypes.CUDA.conf (7) M data/filedefs/filetypes.Clojure.conf (7) M data/filedefs/filetypes.Genie.conf (3) M data/filedefs/filetypes.Graphviz.conf (7) M data/filedefs/filetypes.Scala.conf (3) M data/filedefs/filetypes.Swift.conf (3) M data/filedefs/filetypes.TypeScript.conf (7) M data/filedefs/filetypes.abaqus (7) M data/filedefs/filetypes.actionscript (7) M data/filedefs/filetypes.ada (7) M data/filedefs/filetypes.asm (7) M data/filedefs/filetypes.batch (7) M data/filedefs/filetypes.c (7) M data/filedefs/filetypes.caml (7) M data/filedefs/filetypes.cmake (7) M data/filedefs/filetypes.cobol (7) M data/filedefs/filetypes.conf (7) M data/filedefs/filetypes.cpp (7) M data/filedefs/filetypes.cs (7) M data/filedefs/filetypes.css (7) M data/filedefs/filetypes.d (7) M data/filedefs/filetypes.diff (3) M data/filedefs/filetypes.docbook (7) M data/filedefs/filetypes.erlang (7) M data/filedefs/filetypes.f77 (7) M data/filedefs/filetypes.forth (7) M data/filedefs/filetypes.fortran (7) M data/filedefs/filetypes.freebasic (7) M data/filedefs/filetypes.gdscript (4) M data/filedefs/filetypes.glsl (7) M data/filedefs/filetypes.go (7) M data/filedefs/filetypes.haskell (7) M data/filedefs/filetypes.haxe (7) M data/filedefs/filetypes.html (7) M data/filedefs/filetypes.java (7) M data/filedefs/filetypes.javascript (7) M data/filedefs/filetypes.latex (7) M data/filedefs/filetypes.lisp (7) M data/filedefs/filetypes.lua (7) M data/filedefs/filetypes.makefile (7) M data/filedefs/filetypes.matlab (7) M data/filedefs/filetypes.nsis (7) M data/filedefs/filetypes.objectivec (7) M data/filedefs/filetypes.pascal (7) M data/filedefs/filetypes.perl (7) M data/filedefs/filetypes.php (7) M data/filedefs/filetypes.po (7) M data/filedefs/filetypes.powershell (7) M data/filedefs/filetypes.python.in (7) M data/filedefs/filetypes.r (7) M data/filedefs/filetypes.restructuredtext (7) M data/filedefs/filetypes.ruby (7) M data/filedefs/filetypes.rust (4) M data/filedefs/filetypes.sh (9) M data/filedefs/filetypes.smalltalk (7) M data/filedefs/filetypes.sql (7) M data/filedefs/filetypes.tcl (7) M data/filedefs/filetypes.vala (7) M data/filedefs/filetypes.verilog (7) M data/filedefs/filetypes.vhdl (7) M data/filedefs/filetypes.xml (7) M data/filedefs/filetypes.yaml (7)
-- Patch Links --
https://github.com/geany/geany/pull/3428.patch https://github.com/geany/geany/pull/3428.diff