Dmytro Maluka

Results 310 comments of Dmytro Maluka

`~/.config/micro/buffers/history` is still not covered by `util.SafeWrite()`. So when micro at exit tries to save the command history and fails to do that, it fails silently [*], and when I...

Testing it afresh... When I save a file and it fails and the file becomes corrupted, micro says "An error occurred while writing to the file: [...] The file may...

Yeah agree, updating `ModTime` is much better than using `DisableReload()` (which seems like a hack, in comparison). After all, that's what `ModTime` is: time of the last modification done by...

> We would run into the mentioned scenario in case the encoding changes between the backup and the final write step, because we don't explicit catch it. A correct catch...

Aight, the PR seems to be in a good shape. Let's merge it, and deal with regressions later (maybe there even won't be any :)).

@JoeKar last time we agreed not to merge this before 2.0.14, to avoid changing keybindings semantics right before the release. Now that 2.0.14 has happened, shall we merge it? And...

Still, what about my question https://github.com/zyedidia/micro/issues/2920#issuecomment-1753917310? I.e. isn't `NewCursor()` too low-level a detail to be exposed to plugins? Perhaps the needed functionality can be already achieved from Lua with existing...

With #3441 merged, cursors can now be added via `bp:SpawnCursorAtLoc()` instead.

Besides the actions improved in this PR, there are also lots of cursor movement and selection actions (`CursorUp`, `SelectWordLeft` and so on) which also always return false and could be...