Revision: 176 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=176&view=rev Author: eht16 Date: 2008-09-17 18:14:55 +0000 (Wed, 17 Sep 2008)
Log Message: ----------- Update to Geany API 94 and use new indicator API.
Modified Paths: -------------- trunk/spellcheck/ChangeLog trunk/spellcheck/src/spellcheck.c
Modified: trunk/spellcheck/ChangeLog =================================================================== --- trunk/spellcheck/ChangeLog 2008-09-12 14:35:24 UTC (rev 175) +++ trunk/spellcheck/ChangeLog 2008-09-17 18:14:55 UTC (rev 176) @@ -1,3 +1,9 @@ +2008-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/spellcheck.c: + Update to Geany API 94 and use new indicator API. + + 2008-09-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Modified: trunk/spellcheck/src/spellcheck.c =================================================================== --- trunk/spellcheck/src/spellcheck.c 2008-09-12 14:35:24 UTC (rev 175) +++ trunk/spellcheck/src/spellcheck.c 2008-09-17 18:14:55 UTC (rev 176) @@ -55,7 +55,7 @@ GeanyFunctions *geany_functions;
-PLUGIN_VERSION_CHECK(91) +PLUGIN_VERSION_CHECK(94) PLUGIN_SET_INFO(_("Spell Check"), _("Checks the spelling of the current document."), "0.2", _("The Geany developer team"))
@@ -195,8 +195,7 @@
if (len > 0) { - p_sci->send_message(doc->editor->sci, SCI_STARTSTYLING, start, INDIC2_MASK); - p_sci->send_message(doc->editor->sci, SCI_SETSTYLING, len, 0); + p_sci->indic_clear(doc->editor->sci, start, start + len); } }
@@ -436,7 +435,7 @@
enchant_dict_describe(sc->dict, dict_describe, &dict_string);
- if (p_sci->can_copy(doc->editor->sci)) + if (p_sci->has_selection(doc->editor->sci)) { first_line = p_sci->get_line_from_position( doc->editor->sci, p_sci->get_selection_start(doc->editor->sci));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org