Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 spellcheck-0.2 in geany >=0.16

closed-wont-fix
None
5
2009-02-24
2009-02-24
Qjuh
No

Hi there,
I found out, that the API changed, so this patch is needed to make spellcheck-0.2 work in geany >=0.16:

diff spellcheck-0.2/src/gui.c spellcheck-0.2_new/src/gui.c
56c56
< p_editor->clear_indicators(doc->editor);
---
> p_editor->indicator_clear(doc->editor, GEANY_INDICATOR_ERROR);
346c346
< p_editor->clear_indicators(doc->editor);
---
> p_editor->indicator_clear(doc->editor, GEANY_INDICATOR_ERROR);
diff spellcheck-0.2/src/speller.c spellcheck-0.2_new/src/speller.c
81c81
< 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);

Discussion

  • Enrico Tröger
    Enrico Tröger
    2009-02-24

    • assigned_to: nobody --> eht16
    • status: open --> closed-wont-fix
     
  • Enrico Tröger
    Enrico Tröger
    2009-02-24

    Thanks but I'm going to release spellcheck 0.3 in a few days compatible with Geany 0.16 and providing some new features. Thanks anyway.