Remove hotspot code as it was never really used.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2572 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-05-12 12:28:34 +00:00
parent 7793ff6bb0
commit 340dccfb73
2 changed files with 2 additions and 6 deletions

View File

@ -4,6 +4,8 @@
Use Javascript styles for any VBScript and ASP code embedded in a
HTML file.
Use Python styles for embedded Python code.
* src/highlighting.c:
Remove hotspot code as it was never really used.
2008-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -1128,12 +1128,6 @@ static void styleset_markup(ScintillaObject *sci, gboolean set_keywords)
}
SSM(sci, SCI_SETKEYWORDS, 5, (sptr_t) style_sets[GEANY_FILETYPES_XML].keywords[5]);
/* hotspotting, nice thing */
SSM(sci, SCI_SETHOTSPOTACTIVEFORE, 1, invert(0xff0000));
SSM(sci, SCI_SETHOTSPOTACTIVEUNDERLINE, 1, 0);
SSM(sci, SCI_SETHOTSPOTSINGLELINE, 1, 0);
SSM(sci, SCI_STYLESETHOTSPOT, SCE_H_QUESTION, 1);
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_XML, 0);
set_sci_style(sci, SCE_H_DEFAULT, GEANY_FILETYPES_XML, 0);
set_sci_style(sci, SCE_H_TAG, GEANY_FILETYPES_XML, 1);