- fix: Crash when editing makefile
This commit is contained in:
parent
52ed2b79f7
commit
bd4478476d
4
NEWS.md
4
NEWS.md
|
@ -1,3 +1,7 @@
|
|||
Red Panda C++ Version 2.8
|
||||
|
||||
- fix: Crash when editing makefile
|
||||
|
||||
Red Panda C++ Version 2.7
|
||||
|
||||
- enhancement: Remove multiple problems in the problem set view
|
||||
|
|
|
@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION = 2.7
|
||||
APP_VERSION = 2.8
|
||||
}
|
||||
|
||||
macos: {
|
||||
|
|
|
@ -798,7 +798,7 @@ void Editor::keyPressEvent(QKeyEvent *event)
|
|||
}
|
||||
}
|
||||
lastWord = getPreviousWordAtPositionForCompleteFunctionDefinition(caretXY());
|
||||
if (!lastWord.isEmpty()) {
|
||||
if (mParser && !lastWord.isEmpty()) {
|
||||
PStatement currentScope = mParser->findScopeStatement(mFilename,caretY());
|
||||
while(currentScope && currentScope->kind==StatementKind::skBlock) {
|
||||
currentScope = currentScope->parentScope.lock();
|
||||
|
|
|
@ -33,7 +33,7 @@ RedPandaIDE.depends += redpanda-git-askpass
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 2.7
|
||||
APP_VERSION = 2.8
|
||||
|
||||
linux: {
|
||||
isEmpty(PREFIX) {
|
||||
|
|
Loading…
Reference in New Issue