- enhancement: show caret at once, when edition finished

This commit is contained in:
royqh1979@gmail.com 2022-02-01 14:09:27 +08:00
parent c13ab76e73
commit 5eb5c4d58b
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Red Panda C++ Version 0.14.1
- enhancement: show custom theme folder in options dialog -> enviroment -> folders
- enhancement: display localzed icon set name in the option dialog
- enhancement: new sky blue icon set, contributed by Alan-CRL
- enhancement: show caret at once, when edition finished
Red Panda C++ Version 0.14.0
- enhancement: custom icon set ( in the configuration folder)

View File

@ -5376,9 +5376,12 @@ void SynEdit::onCommandProcessed(SynEditorCommand , QChar , void *)
void SynEdit::ExecuteCommand(SynEditorCommand Command, QChar AChar, void *pData)
{
hideCaret();
incPaintLock();
auto action=finally([this] {
decPaintLock();
showCaret();
});
switch(Command) {
//horizontal caret movement or selection