edbee / edbee-lib

QWidget based Text Editor Component for Qt. Multi-caret, Textmate grammar and highlighting support.
Other
75 stars 26 forks source link

Manually review and import improvements from UniSwarm repos #107

Open gamecreature opened 4 years ago

gamecreature commented 4 years ago

https://github.com/edbee/edbee-lib/compare/master...UniSwarm:master

gamecreature commented 4 years ago

Fixed inputMethodEvent that cause text replacement: https://github.com/edbee/edbee-lib/commit/2b972507d8c60c76e325b3144e3809ae0cb70a69

This commit has an improvement (so it works like other Mac-text-entries.. It still has an issue with rendering).

Why does the implementation causing an empty text on focus lost?? The idea of this inputMethod is a Qt concept for supporting special character entry

On the Mac the enables me to enter:

options + e. (Which displays a forward ' ) 2a. e (Which renders an é) 2b. a (Which renders an á) It results in a preview of the accent letter that's coming.

gamecreature commented 4 years ago

I didn't include the rendering improvements of bordered selections. Those renderings are happening after text-rendering. Text-colouring isn't changed when performing this. To it doesn't render correctly..

gamecreature commented 4 years ago

@sebcaux Thank you for the improvements!