For some filetypes (more specifically some Scintilla lexers) it might
happen that an event with modificationType SC_MOD_CHANGEMARKER is
sent and so the current line is added as bookmark again.
To avoid this, check if the current line has already a bookmark and
update it in this case.

Might be related to #964.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1040

-- Commit Summary --

  * Addons: Bookmarks: Prevent duplicating bookmarks when editing line

-- File Changes --

    M addons/src/ao_bookmarklist.c (26)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1040.patch
https://github.com/geany/geany-plugins/pull/1040.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1040

Reply via email to