mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Added an option to treat .h files as C++ code/syntax.
This commit is contained in:
@@ -2193,6 +2193,7 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
|
||||
UITab* tab = (UITab*)editor->getData();
|
||||
tab->setIcon( icon->getSize( mMenuIconSize ) );
|
||||
}
|
||||
editor->getDocument().setHAsCpp( mProjectDocConfig.hAsCPP );
|
||||
};
|
||||
|
||||
auto docLoaded = [this, editor, docChanged]( const Event* event ) {
|
||||
|
||||
Reference in New Issue
Block a user