Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Thu, 25 May 2017 16:23:38 UTC Commit: 9fe302801be4ac87e86a7533385c10bfbd5876a9 https://github.com/geany/geany-plugins/commit/9fe302801be4ac87e86a7533385c10...
Log Message: ----------- Add missing style mappings for Rust and PHPSCRIPT
Modified Paths: -------------- spellcheck/src/speller.c
Modified: spellcheck/src/speller.c 21 lines changed, 21 insertions(+), 0 deletions(-) =================================================================== @@ -889,6 +889,7 @@ gboolean sc_speller_is_text(GeanyDocument *doc, gint pos) break; } case SCLEX_HTML: + case SCLEX_PHPSCRIPT: case SCLEX_XML: { switch (style) @@ -1145,6 +1146,26 @@ gboolean sc_speller_is_text(GeanyDocument *doc, gint pos) } break; } + case SCLEX_RUST: + { + switch (style) + { + case SCE_RUST_DEFAULT: + case SCE_RUST_COMMENTBLOCK: + case SCE_RUST_COMMENTBLOCKDOC: + case SCE_RUST_COMMENTLINE: + case SCE_RUST_COMMENTLINEDOC: + case SCE_RUST_STRING: + case SCE_RUST_STRINGR: + case SCE_RUST_BYTESTRING: + case SCE_RUST_BYTESTRINGR: + case SCE_RUST_LEXERROR: + return TRUE; + default: + return FALSE; + } + break; + } case SCLEX_SQL: { switch (style)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).