diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-02-01 09:22:14 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-02-01 09:22:14 +1100 | 
| commit | 36e4a162b950bcee61f0fe27cbacd3e85a7bdb55 (patch) | |
| tree | a68c95ca6f86006e39eeda67c2d9f32fa21ccb35 /src/ContractionState.cxx | |
| parent | 171899690407c0c81e0444478cb7ef64a9291c11 (diff) | |
| download | scintilla-mirror-36e4a162b950bcee61f0fe27cbacd3e85a7bdb55.tar.gz | |
Templatize RunStyles so it can be over ranges of different types and contain
different style types.
Currently only instantiated over <int, int>.
Diffstat (limited to 'src/ContractionState.cxx')
| -rw-r--r-- | src/ContractionState.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index a9db134bc..8777e4af9 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -35,9 +35,9 @@ ContractionState::~ContractionState() {  void ContractionState::EnsureData() {  	if (OneToOne()) { -		visible.reset(new RunStyles()); -		expanded.reset(new RunStyles()); -		heights.reset(new RunStyles()); +		visible.reset(new RunStyles<int, int>()); +		expanded.reset(new RunStyles<int, int>()); +		heights.reset(new RunStyles<int, int>());  		foldDisplayTexts.reset(new SparseVector<UniqueString>());  		displayLines.reset(new Partitioning<int>(4));  		InsertLines(0, linesInDocument); | 
