Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'colorer/src/pcolorer2/FarEditorSet.cpp')
-rw-r--r--colorer/src/pcolorer2/FarEditorSet.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/colorer/src/pcolorer2/FarEditorSet.cpp b/colorer/src/pcolorer2/FarEditorSet.cpp
index 4a23725c..9afd4ea7 100644
--- a/colorer/src/pcolorer2/FarEditorSet.cpp
+++ b/colorer/src/pcolorer2/FarEditorSet.cpp
@@ -1350,19 +1350,14 @@ bool FarEditorSet::checkConEmu()
return conemu;*/
}
-bool FarEditorSet::checkFarTrueMod() //TODO
+bool FarEditorSet::checkFarTrueMod()
{
- return false;
- /*EditorAnnotation ea;
- ea.StringNumber = 1;
- ea.StartPos = 1;
- ea.EndPos = 2;
- return !!Info.EditorControl(ECTL_ADDANNOTATION, &ea);*/
+ return WINPORT(GetConsoleColorPalette)() >= 24;
}
bool FarEditorSet::checkConsoleAnnotationAvailable()
{
- return checkConEmu()&&checkFarTrueMod();
+ return checkFarTrueMod();
}
bool FarEditorSet::SetBgEditor()