Jöran Karl

Results 79 comments of Jöran Karl

@dustdfg I will check all of your complains and thank you for the example files. Doesn't look like it's going to leave me alone any time soon. :cry: - [x]...

Unfortunately the SVG highlighting is still not perfect: ![grafik](https://github.com/zyedidia/micro/assets/3951388/36b4239c-ea6f-4c49-95c9-1e3fcb158284) Look at the `/` at the end of ``, which is highlighted as `identifier` instead of `symbol.tag`. This happens due to...

So like in the most of the editors `overwriteFile()` should write to name + e.g. ".tmp" and then use `os.Rename()` to move?

Had already an look into the `os` interfaces, but unfortunately it doesn't provide that capability (like copy-on-write and move afterwards) with that abstraction already. And yes, Windows could become tricky...

> There are some 3rd-party packages e.g. [renameio](https://github.com/google/renameio) but I haven't looked into that deeply. > A naive approach to the problem is to create a temporary file followed by...

We're happy about every one who is willing to help here and trying to maintain something. :)

Duplicate of #2839 There is still an recursion within `highlightEmptyRegion()` and `highlightRegion()` due to the "fix" of nested highlights. The same can be reproduced e.g. by using the "NewTab" page...

As written in #2839 am at this topic and use your file as benchmark too, but the rework takes a lot of time. The easy and low cost improvement reduced...

Exporting `GetArg()` is most probably the most straight proposal. :+1: