#772 overriding filetypes.perl wordchars

v1.23
closed-fixed
Filetypes (68)
5
2012-10-06
2011-10-27
Anonymous
No

Adding a '$' to wordchars to select the entire variable name on double click no longer works.
in fact I can bugger up the wordchar variable in both share and ,config and it makes no difference as to what is selected on double click.

# wordchars=&@%$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
wordchars=ABCDEFGHIJKLMNOPQRSTUVWXYZ

Discussion

  • Lex Trotman

    Lex Trotman - 2011-10-28

    Operating system and Geany version please.

     
  • Nick Treleaven

    Nick Treleaven - 2011-12-06
    • summary: filetypes.perl --> overriding filetypes.perl wordchars
     
  • Colomban Wendling

    • milestone: --> v1.23
    • assigned_to: nobody --> colombanw
    • status: open --> closed-fixed
     
  • Colomban Wendling

    Adding "$" isn't taken into account because it is listed as a whitespace character in filetypes.common; and the latter overrides wordchars settings. I fixed this in Git so it's the wordchars setting that takes precedence -- which seems more natural.

    Why listing only uppercase letters didn't work is similar, but not exactly the same: lowercase letters defaults as wordchars, and the wordchars setting actually only adds more characters, not replaces. This may not be expected nor correct, but at least it's not a common use case not to have the whole set of ASCII letters in wordchars, so it may -- or may not -- get fixed separately.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks