aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ContractionState.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-04-20Backport: Feature [feature-requests:#1215]. Fix forwarding reference warnings.Neil1-1/+2
Backport of changeset 6711:8d202ec5a734.
2018-05-05Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than ↵mitchell1-2/+5
2 GigaBytes. This option is provisional and experimental. Backport of changesets 6696:9729ff36c5b1 and 6723:cffe824ab55e. Also added '#include <cstddef>' to top of src/RESearch.cxx to fix 32-bit build error.
2018-04-17Backport: Templatize ContractionState so it can later be switched between ↵Neil1-70/+100
32-bits and 64-bits. Backport of changeset 6695:86c008249ce5.
2018-05-05Backport: Make some changes recommended by clang-tidy.mitchell1-1/+1
Backport of changeset 6687:4cbf987c7590.
2018-03-27Backport: Use an interface for ContractionState so that there can be differentNeil1-39/+111
implementations of that interface. Backport of changeset 6656:ffa2a06d3987.
2018-03-09Backport: Use Position/Line/int more accurately in preparation for large ↵Neil1-4/+4
documents. Backport of changeset 6480:f2650eaa75e6.
2018-03-01Backport: Mark variables as const where simple.Neil1-5/+5
Backport of changeset 6470:d78a4b522662.
2018-02-01Backport: Templatize RunStyles so it can be over ranges of different types ↵Neil1-3/+3
and contain different style types. Currently only instantiated over <int, int>. Backport of changeset 6445:89d992f380a1.
2018-02-01Backport: Templatize Partitioning so it can hold different types.Neil1-1/+1
Backport of changeset 6444:1bd57324aa36.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-2/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-05-21Make SparseVector work with move-only types.Neil1-6/+7
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-21Make SplitVector work with move-only types like unique_ptr.Neil1-0/+1
Provide InsertEmpty and both const and non-const reference returning operator[]. Add and fix comments.
2017-05-01Use std::unique_ptr to simplify ContractionState.Neil1-17/+11
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-2/+3
where it may be needed in the future.
2017-03-31Using Sci::Position and Sci::Line to mark variables that are document positionsNeil1-32/+32
and lines.
2016-11-29Textual tags may be displayed on folded lines with SCI_TOGGLEFOLDSHOWTEXT.Tse Kit Yam1-1/+31
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-04Throw an exception for a negative sized reallocation as occurs when askedNeil Hodgson1-0/+1
for more than 2GB.
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-9/+9
warnings for lexers since they may be maintained by others.
2014-04-22Hoisting some calculations into classes: ContractionState::DisplayLastFromDocNeil Hodgson1-0/+4
Range::First and Range::Last. Changing Editor::RectangleFromRange arguments to a Range. Simplifying code and specifying some local variables as const.
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe1-0/+2
block.
2013-02-28Return last display line for document lines beyond document end.nyamatongwe1-1/+1
2011-07-02Fix warning from previous change.nyamatongwe1-0/+2
2011-07-02Fix for assertion failure with annotation. Bug #3347268.nyamatongwe1-1/+1
Protect against setting height of line beyond end of document.
2011-06-07Make SCN_NEEDSHOWN notification work when word wrap is enabled.nyamatongwe1-0/+8
This fixes the last remaining issue from bug #3291579. From Marko Njezic
2010-09-24Added SCI_CONTRACTEDFOLDNEXT as a way to find contracted fold headers ↵nyamatongwe1-0/+17
efficiently.
2010-02-17Formatting whitespace.nyamatongwe1-2/+2
2007-07-26Resetting correctly.nyamatongwe1-0/+1
2007-07-26Fixed bug when ShowAll called where linesInDocument was always reset to 1nyamatongwe1-1/+2
which hid most of the file.
2007-07-25Changed ContractionState data structure to be more efficient by not onlynyamatongwe1-195/+151
modifying data near an insertion or deletion when there is good locality of modification.
2007-06-01integrate OS X support for scintilla. a big patch with a little commit ↵scaraveo1-0/+4
message :) - now uses namespaces (optionally for non-os x) to avoid conflicts with OS X libraries - several fixes in the OS X layer since the branch was commited in 2005 - used in Komodo since 2005, so pretty stable
2006-12-31Fixed folding slowness when pasting a large amount of text on an empty line. ↵nyamatongwe1-1/+1
Does not propagate wgitespace flag onto new lines which made them subordinate. Setting a line visible in contraction state now only invalidates the data structure if line currently not visible.
2006-02-07Set linesInDisplay to linesInDoc in ShowAll to avoid crashes whennyamatongwe1-0/+6
out of document line numbers used.
2003-10-16When lines are deleted, move up line heights.nyamatongwe1-0/+1
2002-02-20Fixed off-by-one when handling beyond end of display lines.nyamatongwe1-1/+1
2002-02-03When changing document, ensured rewrap performed.nyamatongwe1-4/+6
Made memory allocation a little safer in ContractionState.
2001-12-23Optimisation that avoids creating the lines and docLines arrays unlessnyamatongwe1-0/+10
needed because a line has been folded or has a height greater than 1.
2001-12-19Wrapping supported.nyamatongwe1-15/+75
2001-02-24Updated documentation comments from Philippe.nyamatongwe1-1/+3
2001-01-28Updating copyright notices for 2001.nyamatongwe1-1/+1
2000-07-18Added functions to clear all styling and contraction.nyamatongwe1-0/+6
2000-07-06Optimisations.nyamatongwe1-6/+0
2000-04-27Fixed bug when deleting lines.nyamatongwe1-7/+8
2000-04-23Fixing problems with fold information degrading when lines inserted andnyamatongwe1-2/+7
removed. New notifications before inserting and deleting text.
2000-04-21Changed font sizing to use more Windows compatible calculationnyamatongwe1-1/+1
Some unfinished work on fixing folding bugs.
2000-04-01Fixed warnings from Borland compiler.nyamatongwe1-1/+0
2000-03-23Fixed bug in ContractionState when files larer than 400 lines had fold ↵nyamatongwe1-4/+4
points set. Fixed block comments in PLSQL.
2000-03-08Initial revisionnyamatongwe1-0/+203