- fix: should use c++ syntax to check ".h" files
- fix: can't copy contents in a readonly editor - fix: project's file not correctly syntaxed when open in editor
This commit is contained in:
parent
88cd992159
commit
83b99c99de
2
NEWS.md
2
NEWS.md
|
@ -1,5 +1,7 @@
|
|||
Version 0.6.3
|
||||
- fix: should use c++ syntax to check ".h" files
|
||||
- fix: can't copy contents in a readonly editor
|
||||
- fix: project's file not correctly syntaxed when open in editor
|
||||
|
||||
Version 0.6.2
|
||||
- fix: The Enter key in the numpad doesn't work
|
||||
|
|
|
@ -2842,9 +2842,19 @@ void Editor::setInProject(bool newInProject)
|
|||
return;
|
||||
mInProject = newInProject;
|
||||
if (mInProject) {
|
||||
initParser();
|
||||
} else {
|
||||
mParser = pMainWindow->project()->cppParser();
|
||||
if (isVisible()) {
|
||||
if (mParser && mParser->parsing()) {
|
||||
connect(mParser.get(),
|
||||
&CppParser::onEndParsing,
|
||||
this,
|
||||
&SynEdit::invalidate);
|
||||
} else {
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
initParser();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5047,7 +5047,7 @@ void SynEdit::ExecuteCommand(SynEditorCommand Command, QChar AChar, void *pData)
|
|||
doCutToClipboard();
|
||||
break;
|
||||
case SynEditorCommand::ecCopy:
|
||||
if (!mReadOnly && selAvail())
|
||||
if (selAvail())
|
||||
doCopyToClipboard();
|
||||
break;
|
||||
case SynEditorCommand::ecPaste:
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QStringList>
|
||||
|
||||
#define DEVCPP_VERSION "0.6.1"
|
||||
#define DEVCPP_VERSION "0.6.3"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#define APP_SETTSINGS_FILENAME "redpandacpp.ini"
|
||||
|
|
Loading…
Reference in New Issue