[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-09-17 Thread Enrico Tröger via Github-comments
Merged #1257 into master. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1257#event-10391068900 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-08-05 Thread elextr via Github-comments
Oops, missed the changes being added, fine by me. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1257#issuecomment-134368 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-08-05 Thread Enrico Tröger via Github-comments
I'd like to merge this in a few days if there are no objections or further remarks. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1257#issuecomment-113074 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-08-01 Thread Enrico Tröger via Github-comments
@eht16 commented on this pull request. > { + AoTasksUpdateTasksForDocArguments *arguments = data; + AoTasks *t = arguments->t; + GeanyDocument *doc = arguments->doc; Alright, done and also in a few more places in the Addons plugin. -- Reply to this email directly or view it

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-08-01 Thread Enrico Tröger via Github-comments
@eht16 pushed 1 commit. b1ba03c3edc70677df578ee7282456e38f965af5 Use DOC_VALID macro across the Addons plugin -- View it on GitHub: https://github.com/geany/geany-plugins/pull/1257/files/d975ce3f6c1a8e03d94ceb73bfc635b84bf2a1cc..b1ba03c3edc70677df578ee7282456e38f965af5 You are receiving this b

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-07-09 Thread elextr via Github-comments
@elextr commented on this pull request. > { + AoTasksUpdateTasksForDocArguments *arguments = data; + AoTasks *t = arguments->t; + GeanyDocument *doc = arguments->doc; I was thinking of DOCVALID() -- Reply to this email directly or view it on GitHub: https://github.com/geany

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-07-09 Thread Enrico Tröger via Github-comments
@elextr fine by you now? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1257#issuecomment-1627749597 You are receiving this because you are subscribed to this thread. Message ID:

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-06-10 Thread Enrico Tröger via Github-comments
@eht16 commented on this pull request. > { + AoTasksUpdateTasksForDocArguments *arguments = data; + AoTasks *t = arguments->t; I think so. The `AoTasks` object exists as long as the Addons plugin is loaded, independently of opened documents and independent of whether the Tasks add

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-06-10 Thread Enrico Tröger via Github-comments
@eht16 commented on this pull request. > { + AoTasksUpdateTasksForDocArguments *arguments = data; + AoTasks *t = arguments->t; + GeanyDocument *doc = arguments->doc; I don't know if there is more than checking `data` for `NULL`. BUt at least I've added this. -- Reply to th

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-06-10 Thread Enrico Tröger via Github-comments
@eht16 pushed 1 commit. d975ce3f6c1a8e03d94ceb73bfc635b84bf2a1cc Add more sanity checks -- View it on GitHub: https://github.com/geany/geany-plugins/pull/1257/files/d6cb2c252b314088dd1ae99bacb1a55794098c79..d975ce3f6c1a8e03d94ceb73bfc635b84bf2a1cc You are receiving this because you are subscrib

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-06-10 Thread Enrico Tröger via Github-comments
@eht16 pushed 1 commit. d6cb2c252b314088dd1ae99bacb1a55794098c79 Add more sanity checks -- View it on GitHub: https://github.com/geany/geany-plugins/pull/1257/files/e06dced5ccd9aba9af257fb3fca68c3ab13157dd..d6cb2c252b314088dd1ae99bacb1a55794098c79 You are receiving this because you are subscrib

[Github-comments] Re: [geany/geany-plugins] Addons: Delay updating of tasks list until document has been colorised (PR #1257)

2023-06-04 Thread elextr via Github-comments
@elextr commented on this pull request. Perhaps get the doc pointer first and check valid, then link the tasks object lifetime to the doc (if it isn't already). Otherwise get current doc in the callback, since tasks doesn't write to the doc it won't do any harm if it scans tasks for the visible