summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
AgeCommit message (Collapse)Author
2018-10-21Move LineRangeSet to line_modification.hhMaxime Coste
2018-06-11Try to keep window position fixed when buffer gets modifiedMaxime Coste
Adapt window position to the changes that happened in the buffer since last redraw. Fixes #1989
2018-05-08Store the timestamp at which a display buffer was generatedMaxime Coste
Coordinates inside a display buffer are only valid for a certain buffer content, they cannot be used once the buffer has been modified. Fixes #2034
2018-04-29Remove implicit conversion from String to DisplayAtom/DisplayLineMaxime Coste
2018-04-07Make FaceRegistry scopedMaxime Coste
set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411
2017-08-29avoid literal eol in status lines, replace them with another symbolMaxime Coste
2017-06-15Fix some other uses of invalid buffer coordinates in display codeMaxime Coste
2017-06-09Remove unused only_buffer mode for DisplayLine::trimMaxime Coste
2017-06-09Rework partial line display logicMaxime Coste
Instead of highlighting full lines and then trim them to make them fit in the window, highlight only the visible portion, and rely on the compute_display_setup system introduced for wrapping to setup our buffer range correctly
2017-05-26Small documentation tweak in display_buffer.hhMaxime Coste
2017-05-08Distinguish between BufferRanges and InclusiveBufferRangesMaxime Coste
Fixes #1257
2017-03-11Increase modelinefmt configuration powerDan Rosén
2016-10-13Rename DisplayAtom::Types to avoid conflicts with struct BufferRangeMaxime Coste
2016-10-01Support codepoints of variable widthMaxime Coste
Add a ColumnCount type and use it in place of CharCount whenever more appropriate, take column size of codepoints into account for vertical movements and docstring wrapping. Fixes #811
2015-12-17Initial, WIP spelling implementationMaxime Coste
Add a ranges highlighter that takes a timestamped list of ranges and associated face. Add a spell.kak file that uses aspell pipe interface to fill a range-faces option.
2015-10-06Cleanup insert_completer code and use markup for option completion menu entryMaxime Coste
2015-09-20Remove the default_face parameter of parse_display_lineMaxime Coste
No need to define a default face there, we will pass a default face to UserInterface::draw_status later.
2015-09-19Add simple markup support to generate display lines from stringsMaxime Coste
The syntax is simply {face} to enable the given face, use \{ to escape a {, and \\ to escape a \.
2015-09-12Add some missing memory domainsMaxime Coste
2015-07-23Improve column highlighter to cooperate better with other highlightersMaxime Coste
Fixes #268
2015-06-17Move status/mode line drawing as a separate ui methodMaxime Coste
2015-06-04Add support for Default faceMaxime Coste
The Default face is used to set default color values, if set to default (the default), refers to terminal default colors.
2015-04-23Use a struct for BufferRange rather than std::pairMaxime Coste
2015-04-23NCurses: When mode line is too long, trim it rather hiding itMaxime Coste
2015-01-21Add Display memory domainMaxime Coste
2015-01-12replace all std::vector with VectorMaxime Coste
2014-11-12Cleanup includesMaxime Coste
2014-10-03Use InternedStrings for buffer contentsMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-07-07Fix redrawing of windows when only the status line changesMaxime Coste
2014-05-16DisplayAtom::content returns a StringViewMaxime Coste
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-01-21Fix adapt_view_pos when the cursor is not on a display atom by itselfMaxime Coste
2014-01-09Style changes, replace typedefs with usingsMaxime Coste
2013-12-12Add DisplayAtom::check_invariant methodMaxime Coste
2013-12-11Add experimental region_ref highlighterMaxime Coste
highlights a region using another highlighter.
2013-07-24merge AtomContent into DisplayAtomMaxime Coste
2013-07-24Try to keep the selection start visible if possibleMaxime Coste
2013-07-24DisplayLine no longer map to a single buffer line, but to a buffer rangeMaxime Coste
2013-06-28Fix horizontal scrolling support with replaced buffer rangesMaxime Coste
tab character were not properly handled when scrolling horizontally
2013-05-30DisplayBuffer: use coords rather than iteratorsMaxime Coste
2013-05-29AtomContent uses coord rather than iteratorsMaxime Coste
2013-05-13support specifying colors with RGB componentsMaxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-04-04UserInterface: status line messages are now DisplayLinesMaxime Coste
This add color support for the status line
2013-03-06Use a ColorPair in DisplayAtoms instead of separate fg/bg colorsMaxime Coste
2013-01-04various code style fixesMaxime Coste
2012-10-23Add some remote client support protocol codeMaxime Coste
2012-10-23DisplayBuffer: store lines in a vector, not a listMaxime Coste