buffer: Add proper lock mechanism to lock the full LineArray instead of single lines by JoeKar · Pull Request #3224 · micro-editor/micro (original) (raw)
This is necessary as a preparation to introduce a lock for the whole LineArray. The modification can then be done without trying to lock the same lock twice.
Co-authored-by: Dmytro Maluka dmitrymaluka@gmail.com
...which isn't used so far and probably handled better in a different way.
This is achieved by the usage of the new LineArray locking machanism,
which prevents the interruption in the moment of modifications like insertion
or removal of lines.
Co-authored-by: Dmytro Maluka dmitrymaluka@gmail.com
...since we fixed the race between the syntax highlighting and the buffer editing.
JoeKar deleted the fix/line-synchronization branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})