To keep the things related to the caret at the same place, I used filetypes.common.
In addition to allowing users modify the caret to their needs, this can be used for debugging CPU usage as this should be the only timer in Geany and when set to 0, Geany should (theoretically) use absolutely no CPU.
Fixes #3410. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3901
-- Commit Summary --
* Support setting SCI_SETCARETPERIOD
-- File Changes --
M data/filedefs/filetypes.common (5) M src/highlighting.c (5)
-- Patch Links --
https://github.com/geany/geany/pull/3901.patch https://github.com/geany/geany/pull/3901.diff