[geany/geany] 565c91: Consider dash (-) when looking for the word to complete for CSS
Colomban Wendling
git-noreply at geany.org
Fri Oct 5 22:55:03 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Fri, 05 Oct 2012 22:55:03
Commit: 565c9176881f8d8a6d308a047c762e9e7cfdbbd4
https://github.com/geany/geany/commit/565c9176881f8d8a6d308a047c762e9e7cfdbbd4
Log Message:
-----------
Consider dash (-) when looking for the word to complete for CSS
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -2210,6 +2210,8 @@ gboolean editor_start_auto_complete(GeanyEditor *editor, gint pos, gboolean forc
if (ft->id == GEANY_FILETYPES_LATEX)
wordchars = GEANY_WORDCHARS"\\"; /* add \ to word chars if we are in a LaTeX file */
+ else if (ft->id == GEANY_FILETYPES_CSS)
+ wordchars = GEANY_WORDCHARS"-"; /* add - because they are part of property names */
else
wordchars = GEANY_WORDCHARS;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list