work savw

This commit is contained in:
Roy Qu 2022-01-18 21:03:43 +08:00
parent 02813587fd
commit 39f8c98a66
2 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,10 @@ isEmpty(APP_NAME) {
APP_NAME = RedPandaCPP
}
isEmpty(APP_VERSION) {
APP_VERSION=0.13.3
}
isEmpty(PREFIX) {
PREFIX = /usr/local
}

View File

@ -3190,7 +3190,7 @@ void Editor::updateFunctionTip()
if (!isFunction)
pMainWindow->functionTip()->hide();
});
const int maxLines=20;
const int maxLines=10;
BufferCoord caretPos = caretXY();
int currentLine = caretPos.Line-1;
int currentChar = caretPos.Char-1;
@ -3261,7 +3261,6 @@ void Editor::updateFunctionTip()
parenthesisLevel--;
}
} else {
qDebug()<<i<<tokens[i];
if (tokens[i]=="(") {
// found start of function
foundFunctionStart = true;