diff options
Diffstat (limited to 'src/LexOthers.cxx')
| -rw-r--r-- | src/LexOthers.cxx | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index f5382bfdc..3c6940bfc 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -694,6 +694,11 @@ static void ColourisePropsDoc(unsigned int startPos, int length, int, WordList *  	styler.StartSegment(startPos);  	unsigned int linePos = 0;  	unsigned int startLine = startPos; + +	// property lexer.props.allow.initial.spaces  +	//	For properties files, set to 0 to style all lines that start with whitespace in the default style.  +	//	This is not suitable for SciTE .properties files which use indentation for flow control but  +	//	can be used for RFC2822 text where indentation is used for continuation lines.   	bool allowInitialSpaces = styler.GetPropertyInt("lexer.props.allow.initial.spaces", 1) != 0;  	for (unsigned int i = startPos; i < startPos + length; i++) { @@ -1097,6 +1102,12 @@ static void ColouriseErrorListDoc(unsigned int startPos, int length, int, WordLi  	styler.StartAt(startPos);  	styler.StartSegment(startPos);  	unsigned int linePos = 0; + +	// property lexer.errorlist.value.separate  +	//	For lines in the output pane that are matches from Find in Files or GCC-style  +	//	diagnostics, style the path and line number separately from the rest of the  +	//	line with style 21 used for the rest of the line.  +	//	This allows matched text to be more easily distinguished from its location.   	bool valueSeparate = styler.GetPropertyInt("lexer.errorlist.value.separate", 0) != 0;  	for (unsigned int i = startPos; i < startPos + length; i++) {  		lineBuffer[linePos++] = styler[i];  | 
