aboutsummaryrefslogtreecommitdiff
path: root/data/core/docview.lua
AgeCommit message (Collapse)Author
2022-06-07initial documentation for better code completionjgmdev
2022-05-30Use new `CommandView:enter` options tableGuldoman
2022-05-30Made moving to a line beyond the end of a document move the caret column to ↵Joshua Barretto
the end of the line
2022-04-24Merge branch 'master' into master-2.1Adam
2022-04-12Show `arrow` cursor when hovering `DocView` scrollbar trackGuldoman
2022-04-12Fix `DocView:on_mouse_released` not considering all parametersGuldoman
2022-04-12Avoid calling `View:scrollbar_overlaps_point` uselesslyGuldoman
`View:on_mouse_moved` already updated `self.hovered_scrollbar`, so use that instead.
2022-04-03Apparenlty these were issues? What?Adam Harrison
2022-04-03Soft Line Wrapping (#636)Adam
Added in soft line wrapping.
2022-03-17Fixed a bunch of problems. Fixed left+click not allowing for square ↵Adam Harrison
selections, fixed esc not exiting multicursor mode, and allowed cntrl+click to remove a cursor.
2022-02-15Fixed rendering computations for y offset. (#843)Adam
* Fixed rendering computations for y offset. * Force monospacing if every ascii character has the same integer advance. * Added in explanatory comment. * Fixed issues. * Made lines less long.
2022-02-11Check entire selection to trigger `DocView:scroll_to_make_visible`Guldoman
This is needed for example when a selection has both `line1` and `col1` at 1, and the left arrow is pressed: `line2` and `col2` change, while `line1` and `col1` don't, but we still want to scroll.
2021-12-20Add for config.highlight_current_line new variant: no_selectionJipok
2021-11-27Merge pull request #682 from Guldoman/indent_refactorAdam
Refactor how to get the indentation of a `Doc`
2021-11-23Manual merge of into .Adam Harrison
2021-11-20Use the new `Doc:get_indent_info` throughout `core`Guldoman
2021-11-19Selection expands by word or line on double or triple click followed by drag.Joshua Minor
2021-11-16Merge pull request #589 from adamharrison/clicks-keymapAdam
Added in clicks to keymap.
2021-11-14Rearranged things to make a bit more sense.Adam Harrison
2021-11-14Added in double, and triple clicking.Adam Harrison
2021-11-14Added in clicks to keymap.Adam Harrison
2021-11-09Highlight any line that contains a caretGuldoman
Now lines with selections can be highlighted if they contain a caret.
2021-10-11Correct Node's clipping rectangleFrancesco Abbate
Fixing the Node's clipping rectangle make the clipping in DocView:draw() partially redundant. This latter is now no longer needed to clip on the right when drawing the document's lines but it still serves to the purpose of clipping on the left, before the gutter region.
2021-10-10Fix clipping error in docviewFrancesco Abbate
2021-10-02Merge pull request #521 from adamharrison/remove-font-rendererFrancesco
Remove Font Renderer + CP Replace + libagg
2021-10-02Add option to disable caret blinking (#572)Guldoman
2021-10-02Add option to disable scrolling past the end (#566)Guldoman
2021-10-02Add option to disable caret blinking (#572)Guldoman
2021-09-30Add option to disable scrolling past the end (#566)Guldoman
2021-09-24Removed font renderer.Adam Harrison
2021-09-08Revert horizontal scroll implementationGuldoman
2021-09-03Add a simple cache to `DocView:get_h_scrollable_size`Guldoman
This function gets called at every `core.step`, so we should avoid having to recalculate the scrollable size every time, as it could get very expensive on long lines.
2021-08-30Split vertical and horizontal scrollbar-related functions and variablesGuldoman
2021-08-30Set horizontal scroll size to be more in line with other editorsGuldoman
Only scroll enough to see the whole line.
2021-08-30Show correct mouse cursor when hovering the horizontal scrollbarGuldoman
2021-08-30Define horizontal scrollable size for `DocView`Guldoman
2021-08-30Merge pull request #430 from adamharrison/vsc-multicursor-shortcutsAdam
Added in two new VSC-style multicursor shortcuts.
2021-08-29Fixed cursors moving around with removal and inserts with cursors. Also ↵Adam Harrison
fixed drawing line highlights with multicursors.
2021-08-27Introduce View objects context propertyFrancesco Abbate
Used to determine if an instance of the given class should be closed or not when a project session is terminated.
2021-07-28Move gutter width calculation out of loopFrancesco Abbate
2021-07-28fix line number align bugcukmekerb
2021-07-28align line numbers to rightcukmekerb
2021-06-20Abstracted out draw caret, so that the line guide can draw under it. (#287)Adam
* Abstracted out draw caret, so that the line guide can draw under it. * Moved caret drawing out to draw_overlay.
2021-06-18Rebased, and added the ability for ctrl to just create new cursors.Adam Harrison
2021-06-18Introduced the constraint that all cursors must be in order.Adam Harrison
2021-06-18Cleaned up functions.Adam Harrison
2021-06-18Allows for rectangular selections with ctrl; also fixed tabbing.Adam Harrison
2021-06-18Fixed undo stack.Adam Harrison
2021-06-18Initial commit of multicursor. Next step is to investigate how multicursor ↵Adam Harrison
works on various other IDEs and ape those.
2021-05-26support for font changing in the syntax highlighterliquidev