On Sat, 28 Nov 2009 13:16:42 +0100, spir wrote:
>> >Also, it would be nice to have a style attribute for multilne >> >strings and multiline comments. (And I don't understand the >> >difference between "string" and "literalstring" attributes.) >> >> I don't know Lua very well at all but if I understand you correctly, >> you might want to adjust the "identifier" style. This is the style >> which is used for function names. However, this would also affect >> other identifiers like variable names and such. >> If that's not enough, you should file a feature request at the >> Scintilla project to add another style to the Lua lexer for >> highlighting function names. > >Well, I'll try to find information about scintilla's Lua highlighting >definition. (a pointer would be welcome) Feature request tracker: https://sourceforge.net/tracker/?group_id=2439&atid=352439 Code: http://scintilla.cvs.sourceforge.net/viewvc/scintilla/scintilla/src/LexLua.cxx?revision=1.33&view=markup >The "identifier" is not a solution for my needs, as the point is >precisely to highlight func names in func defs, as opposed to other >identifiers. Actually, I'm rather surprised there is no setting for >function names (in scintilla), because it's very basic and useful, >indeed, and also the pattern for Lua's 1st form above is identical to >the one used in many other languages. (The second form seems also >rarer in common Lua code, but necessary for anonymous funcs.) > >So, a follow-up question is: do geany's standard filetypes.* file show >all possible settings (inherited from scintilla)? If yes, then I will >for sure file a feature request for scintilla. Mostly. There might be a few cases where the mapping for a few styles for a few filetypes are missing but generally it should be complete. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
pgpRidpVxJ8qI.pgp
Description: PGP signature
_______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
