From 7e09ddd0df04293ef270d929cee527e7dd6dbe2e Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sun, 3 Nov 2013 22:17:22 +0800 Subject: [PATCH] Fixed syntax coloring problem introduced in 1.2.0.10 --- src/xmlctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlctrl.cpp b/src/xmlctrl.cpp index 1805d4c..1e69de5 100644 --- a/src/xmlctrl.cpp +++ b/src/xmlctrl.cpp @@ -76,7 +76,6 @@ XmlCtrl::XmlCtrl ( currentMaxLine = 1; applyProperties ( propertiesParameter ); - applyVisibilityState ( visibilityState ); SetTabWidth ( 2 ); SetWrapStartIndent ( 2 ); @@ -119,6 +118,7 @@ XmlCtrl::XmlCtrl ( SetUndoCollection ( true ); AutoCompSetSeparator ( '<' ); + applyVisibilityState ( visibilityState ); lineBackgroundState = BACKGROUND_STATE_NORMAL; for ( int i = 0; i < wxSTC_INDIC_MAX; ++i )