Revision: 302 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=302&view=rev Author: eht16 Date: 2008-11-16 17:56:27 +0000 (Sun, 16 Nov 2008)
Log Message: ----------- Update to Geany API 108 - indicator functions renamed.
Modified Paths: -------------- trunk/spellcheck/ChangeLog trunk/spellcheck/src/gui.c trunk/spellcheck/src/speller.c
Modified: trunk/spellcheck/ChangeLog =================================================================== --- trunk/spellcheck/ChangeLog 2008-11-15 19:01:18 UTC (rev 301) +++ trunk/spellcheck/ChangeLog 2008-11-16 17:56:27 UTC (rev 302) @@ -1,3 +1,9 @@ +2008-11-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/speller.c, src/gui.c: + Update to Geany API 108 - indicator functions renamed. + + 2008-11-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/speller.h, src/gui.c:
Modified: trunk/spellcheck/src/gui.c =================================================================== --- trunk/spellcheck/src/gui.c 2008-11-15 19:01:18 UTC (rev 301) +++ trunk/spellcheck/src/gui.c 2008-11-16 17:56:27 UTC (rev 302) @@ -62,7 +62,7 @@
void gui_perform_check(GeanyDocument *doc) { - p_editor->clear_indicators(doc->editor); + p_editor->indicator_clear(doc->editor, GEANY_INDICATOR_ERROR); if (sc->use_msgwin) { p_msgwindow->clear_tab(MSG_MESSAGE); @@ -380,7 +380,7 @@
speller_reinit_enchant_dict();
- p_editor->clear_indicators(doc->editor); + p_editor->indicator_clear(doc->editor, GEANY_INDICATOR_ERROR); if (sc->use_msgwin) { p_msgwindow->clear_tab(MSG_MESSAGE);
Modified: trunk/spellcheck/src/speller.c =================================================================== --- trunk/spellcheck/src/speller.c 2008-11-15 19:01:18 UTC (rev 301) +++ trunk/spellcheck/src/speller.c 2008-11-16 17:56:27 UTC (rev 302) @@ -83,7 +83,7 @@ if (start_pos == -1) start_pos = end_pos - strlen(word);
- p_editor->set_indicator(doc->editor, start_pos, end_pos); + p_editor->indicator_set_on_range(doc->editor, GEANY_INDICATOR_ERROR, start_pos, end_pos);
if (sc->use_msgwin) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org