Remove unused argument ft_id from styleset_common().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3031 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
604a981482
commit
75f2386eeb
@ -5,6 +5,8 @@
|
|||||||
Add 'make hacking-doc' target to generate hacking.html.
|
Add 'make hacking-doc' target to generate hacking.html.
|
||||||
* src/highlighting.c:
|
* src/highlighting.c:
|
||||||
Fix using common styleset for filetype None.
|
Fix using common styleset for filetype None.
|
||||||
|
* src/highlighting.c:
|
||||||
|
Remove unused argument ft_id from styleset_common().
|
||||||
|
|
||||||
|
|
||||||
2008-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
2008-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -433,7 +433,7 @@ static void styleset_common_init(gint ft_id, GKeyFile *config, GKeyFile *config_
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void styleset_common(ScintillaObject *sci, filetype_id ft_id)
|
static void styleset_common(ScintillaObject *sci)
|
||||||
{
|
{
|
||||||
SSM(sci, SCI_STYLECLEARALL, 0, 0);
|
SSM(sci, SCI_STYLECLEARALL, 0, 0);
|
||||||
|
|
||||||
@ -621,7 +621,7 @@ apply_filetype_properties(ScintillaObject *sci, gint lexer, filetype_id ft_id)
|
|||||||
|
|
||||||
SSM(sci, SCI_AUTOCSETMAXHEIGHT, editor_prefs.symbolcompletion_max_height, 0);
|
SSM(sci, SCI_AUTOCSETMAXHEIGHT, editor_prefs.symbolcompletion_max_height, 0);
|
||||||
|
|
||||||
styleset_common(sci, ft_id);
|
styleset_common(sci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1908,11 +1908,9 @@ static void styleset_docbook(ScintillaObject *sci)
|
|||||||
|
|
||||||
static void styleset_none(ScintillaObject *sci)
|
static void styleset_none(ScintillaObject *sci)
|
||||||
{
|
{
|
||||||
const filetype_id ft_id = GEANY_FILETYPES_NONE;
|
|
||||||
|
|
||||||
SSM(sci, SCI_SETLEXER, SCLEX_NULL, 0);
|
SSM(sci, SCI_SETLEXER, SCLEX_NULL, 0);
|
||||||
|
|
||||||
styleset_common(sci, ft_id);
|
styleset_common(sci);
|
||||||
|
|
||||||
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_NONE, GCS_DEFAULT);
|
set_sci_style(sci, STYLE_DEFAULT, GEANY_FILETYPES_NONE, GCS_DEFAULT);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user