diff options
| author | Marko Njezic <unknown> | 2011-06-10 14:38:39 +0200 | 
|---|---|---|
| committer | Marko Njezic <unknown> | 2011-06-10 14:38:39 +0200 | 
| commit | d2f6831368cd662d7a403cb533f439159f884ca0 (patch) | |
| tree | 7aae6e2815aced8376d3d1a67281c6ed86a62f91 /src/ViewStyle.cxx | |
| parent | d9de125c32c08f9c4579d166edccedbd2a70e19d (diff) | |
| download | scintilla-mirror-d2f6831368cd662d7a403cb533f439159f884ca0.tar.gz | |
Add an option to control how wrapped lines are selected when clicking on margin.
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 03a2fb42f..78b13b8da 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -187,6 +187,7 @@ ViewStyle::ViewStyle(const ViewStyle &source) {  	someStylesForceCase = false;  	leftMarginWidth = source.leftMarginWidth;  	rightMarginWidth = source.rightMarginWidth; +	marginOptions = source.marginOptions;  	for (int i=0; i < margins; i++) {  		ms[i] = source.ms[i];  	} @@ -287,6 +288,7 @@ void ViewStyle::Init(size_t stylesSize_) {  	leftMarginWidth = 1;  	rightMarginWidth = 1; +	marginOptions = SC_MARGINOPTION_NONE;  	ms[0].style = SC_MARGIN_NUMBER;  	ms[0].width = 0;  	ms[0].mask = 0; | 
