Kaydet (Commit) 7e932527 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix for moved highlighting_is_{comment,string}_style().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5410 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst ddefb0a0
......@@ -378,14 +378,15 @@ typedef for more information.
Other features
^^^^^^^^^^^^^^
If the lexer has comment styles, you should add them in
highlighting_is_comment_style(). You should also update
highlighting_is_string_style() for string/character styles. For now,
this prevents calltips and autocompletion when typing in a comment
(but it can still be forced by the user).
For brace indentation, update lexer_has_braces() in editor.c;
indentation after ':' is done from on_new_line_added().
If the lexer has comment styles, you should add them in is_comment_style()
in editor.c. You should also update is_string_style() for string/character
styles. For now, this prevents calltips and autocompletion when typing
in a comment (but it can still be forced by the user).
If the Scintilla lexer supports user type keyword highlighting (e.g.
SCLEX_CPP), update editor_lexer_get_type_keyword_idx() in editor.c.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment