IvanMathy / Boop

A scriptable scratchpad for developers. In slow yet steady progress.
https://boop.okat.best
MIT License
3.84k stars 356 forks source link

Single line syntax highlighting and line numbers #302

Open lykovaa opened 3 years ago

lykovaa commented 3 years ago

When selecting single line of text in 3rd party software and triggering Boop with a hotkey, syntax highlighting does not work until you press Enter to create another line in Boop. Only after this first line is highlighted.

In case after that you select different single line of text in 3rd party software and trigger Boop with a hotkey again, it gets copied to Boop, but line numbers are not updated (line 2 starts where it was after the previous copying and pressing Enter). And again, there's no highlighting until you press Enter. After that highlighting is back, and line numbers are updated correctly.