- fix: correctly update the start postion of selection after code completion
This commit is contained in:
parent
6f7f637d11
commit
8acee3ed20
1
NEWS.md
1
NEWS.md
|
@ -3,6 +3,7 @@ Red Panda C++ Version 1.1.5
|
|||
- change: uncheck "hide unsupported files" in files view shouldn't gray out non-c files
|
||||
- enhancement: double clicking a non-text file in the files view, will open it with external program
|
||||
- enhancement: double clicking a non-text file in the project's view, will open it with external program
|
||||
- fix: correctly update the start postion of selection after code completion
|
||||
|
||||
Red Panda C++ Version 1.1.4
|
||||
|
||||
|
|
|
@ -3169,6 +3169,8 @@ void Editor::completionInsert(bool appendFunc)
|
|||
// fFunctionTip.FileName := fFileName;
|
||||
// fFunctionTip.Show;
|
||||
// end;
|
||||
} else {
|
||||
setCaretX(caretX());
|
||||
}
|
||||
}
|
||||
mCompletionPopup->hide();
|
||||
|
@ -3201,6 +3203,8 @@ void Editor::headerCompletionInsert()
|
|||
|
||||
setSelText(headerName);
|
||||
|
||||
setCaretX(caretX());
|
||||
|
||||
if (headerName.endsWith("/")) {
|
||||
showHeaderCompletion(false,true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue