diff options
| author | nyamatongwe <unknown> | 2000-07-01 13:34:28 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-07-01 13:34:28 +0000 | 
| commit | fb394f628cb2c6be987c7fe45f9c5b22fb8167fe (patch) | |
| tree | 608ab59ded48de4f3ef480c329ad4b8b4a363a50 /src/ViewStyle.cxx | |
| parent | 6d9d80245940ec0ad77004117a18666bb9e1fb70 (diff) | |
| download | scintilla-mirror-fb394f628cb2c6be987c7fe45f9c5b22fb8167fe.tar.gz | |
Making Drawline less context dependent by moving state from Editor to
LineLayout and ViewStyle. Helps avoid attributes leaking into printing.
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 fe2375018..da35a23fc 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -73,6 +73,7 @@ ViewStyle::ViewStyle(const ViewStyle &source) {  	selbarlight.desired = source.selbarlight.desired;  	caretcolour.desired = source.caretcolour.desired;  	edgecolour.desired = source.edgecolour.desired; +	edgeState = source.edgeState;  	leftMarginWidth = source.leftMarginWidth;  	rightMarginWidth = source.rightMarginWidth;  	for (int i=0;i < margins; i++) { @@ -119,6 +120,7 @@ void ViewStyle::Init() {  	//caretcolour.desired = Colour(0xff, 0, 0);  	caretcolour.desired = Colour(0, 0, 0);  	edgecolour.desired = Colour(0xc0, 0xc0, 0xc0); +	edgeState = EDGE_NONE;  	leftMarginWidth = 1;  	rightMarginWidth = 1; | 
