diff --git a/NEWS.md b/NEWS.md index ea26e36f..0cbe0317 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +Red Panda C++ Version 1.0.2 + - enhancement: press tab in column mode won't exit column mode + Red Panda C++ Version 1.0.1 - fix: only convert project icon file when it's filename doesn't end with ".ico" - fix: hide function tip when scroll diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 24796812..9af8ad42 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -10,7 +10,7 @@ isEmpty(APP_NAME) { } isEmpty(APP_VERSION) { - APP_VERSION=1.0.1 + APP_VERSION=1.0.2 } win32: VERSION = $${APP_VERSION}.0 diff --git a/RedPandaIDE/qsynedit/SynEdit.cpp b/RedPandaIDE/qsynedit/SynEdit.cpp index 8cafa37e..fc404915 100644 --- a/RedPandaIDE/qsynedit/SynEdit.cpp +++ b/RedPandaIDE/qsynedit/SynEdit.cpp @@ -2372,6 +2372,10 @@ void SynEdit::insertLine(bool moveCaret) void SynEdit::doTabKey() { + if (mActiveSelectionMode == SynSelectionMode::smColumn) { + doAddChar('\t'); + return; + } // Provide Visual Studio like block indenting if (mOptions.testFlag(eoTabIndent) && canDoBlockIndent()) { doBlockIndent(); @@ -2767,7 +2771,7 @@ void SynEdit::doAddChar(QChar AChar) { if (mReadOnly) return; - if (!AChar.isPrint()) + if (!AChar.isPrint() && AChar!='\t') return; //DoOnPaintTransient(ttBefore); //mCaretX will change after setSelLength; diff --git a/Red_Panda_CPP.pro b/Red_Panda_CPP.pro index 7daa3039..72f2f36c 100644 --- a/Red_Panda_CPP.pro +++ b/Red_Panda_CPP.pro @@ -17,7 +17,7 @@ SUBDIRS += \ APP_NAME = RedPandaCPP -APP_VERSION = 1.0.1 +APP_VERSION = 1.0.2 linux: {