aboutsummaryrefslogtreecommitdiff
path: root/selection.c (unfollow)
Commit message (Expand)AuthorLines
2026-10-28selection: fix multi-cell chars selection updateCismonX-3/+1
2026-10-25selection: fix row comparison in selection updateCismonX-3/+8
2026-09-10selection: treat spacer pad cells as empty cells when marking cells for highlightingDaniel Eklöf-1/+3
2026-09-10selection: don't allow the start/end-points to be inside spacer pad cellsDaniel Eklöf-0/+13
2026-09-10selection: don't include spacer pad cells when extending the selection to cover all of a multi-ce...Daniel Eklöf-4/+13
2026-08-06selection: check column when updating selectionCismonX-8/+12
2026-07-30selection: find-quote-right: assert next-row > 0Daniel Eklöf-0/+4
2026-07-30selection: fixed segfault when quote is on newlineEmily Vlasics-3/+7
2026-07-21selection: fix word boundary checkCismonX-23/+17
2026-06-12selection: escape quotes in file names being DnD:ed on the command lineDaniel Eklöf-1/+10
2026-06-12selection: fix block selection direction updateCismonX-1/+1
2026-05-22selection: do not copy empty textCismonX-0/+6
2026-03-22osc-52: don't strip any control characters, and don't do newline conversionDaniel Eklöf-13/+26
2025-11-12Fix assertion failure triple-clicking line with quote in last columnJohannes Altmanninger-3/+10
2024-12-22selection: fix crash when tripple clicking in a region containing NUL charactersDaniel Eklöf-4/+4
2024-09-21selection: set row->dirty when clearing the cell->attrs.clean bitDaniel Eklöf-1/+4
2024-02-06Don't use fancy Unicode quotes, stick to ASCIIDaniel Eklöf-19/+19
2024-02-05util: add streq() function and use in place of strcmp(...) == 0Craig Barnes-2/+2
2023-10-08selection: find_word_boundary: ensure row number is boundedDaniel Eklöf-6/+8
2023-10-08selection: selection_update() uses view-local coordinatesDaniel Eklöf-7/+12
2023-10-08search: add more key bindings to extend the current matchDaniel Eklöf-38/+51
2023-09-19selection: add support for selecting the contents of a quoteDaniel Eklöf-14/+151
2023-07-22selection: send_clipboard_or_primary(): handle selection text being NULLDaniel Eklöf-3/+1
2022-11-24selection: selection_on_rows(): typo: row_start -> row_endDaniel Eklöf-1/+1
2022-10-16selection: scroll down: handle non-full scrollback correctlyDaniel Eklöf-3/+8
2022-08-31selection: mark_selected_region(): use an enum to encode how the cells are to be updatedDaniel Eklöf-7/+20
2022-08-31selection: restore <= 1.12 behavior in block selection wrt empty cellsDaniel Eklöf-1/+3
2022-08-31selection: once again highlight non-trailing empty cellsDaniel Eklöf-6/+38
2022-08-31selection: never highlight selected, empty cellsDaniel Eklöf-2/+21
2022-08-26selection: mark_selected_region(): use an enum to encode how the cells are to be updatedDaniel Eklöf-7/+20
2022-08-26selection: restore <= 1.12 behavior in block selection wrt empty cellsDaniel Eklöf-1/+3
2022-08-22selection: once again highlight non-trailing empty cellsDaniel Eklöf-6/+38
2022-08-22selection: never highlight selected, empty cellsDaniel Eklöf-2/+21
2022-07-28selection: rework how we update a selectionDaniel Eklöf-106/+190
2022-07-28selection: extend: use scrollback relative coordinatesDaniel Eklöf-15/+33
2022-07-28selection: foreach_selected_*(): refactor: use grid_row_abs_to_sb()Daniel Eklöf-6/+5
2022-07-28selection: selection_on_rows(): use scrollback relative coordsDaniel Eklöf-15/+59
2022-06-21selection: wl_data_offer_set_action: use enum values instead of magic integersDaniel Eklöf-1/+4
2022-06-20selection: reject dnd offers with unsupported mime-typesDaniel Eklöf-0/+4
2022-06-20selection: explicitly reject *all* dnd offers not targeting the gridDaniel Eklöf-0/+1
2022-06-20selection: ignore drag-and-drops with unsupported mime-typesDaniel Eklöf-0/+6
2022-06-15selection: allow HT, VT and FF, disallow NUL in non-bracketed paste modeDaniel Eklöf-3/+16
2022-04-27selection: find_word_boundary_right: add “stop-on-space-to-word-boundary”Daniel Eklöf-8/+19
2022-04-25selection: add start/end coordinate gettersDaniel Eklöf-0/+24
2022-04-24selection: assert serial is non-zero before copying data to the clipboardDaniel Eklöf-1/+4
2022-04-24selection: find_word_boundary: assert ‘pos’ is validDaniel Eklöf-0/+10
2022-04-17search: fix next/prev not updating selection correctly when matches overlapDaniel Eklöf-1/+1
2022-04-09refactor: add a ‘range’ struct, grouping a start and end coord togetherDaniel Eklöf-52/+52
2022-03-19selection: don’t translate \r to \n when pastingDaniel Eklöf-7/+2
2022-02-07selection: foreach: sort start/end based on their scrollback-start relative valuesDaniel Eklöf-20/+56
2022-02-07selection: ensure start/end coordinates are bounded by the current gridDaniel Eklöf-10/+2
2022-02-05fcft: adapt to API changes in fcft-3.xDaniel Eklöf-9/+9
2022-02-02selection: don’t quote file URIs on the alt screenDaniel Eklöf-2/+9
2021-10-19selection: convert \r -> \n when reading clipboard dataDaniel Eklöf-0/+5
2021-09-30selection: line-wise selection now handles soft line-wrappingDaniel Eklöf-16/+83
2021-08-16selection: modify: no need to check for NULL before calling free()Daniel Eklöf-4/+1
2021-08-16selection: modify: convert ‘keep_selection’ bitmask from uint64_t to uint8_tDaniel Eklöf-11/+11
2021-08-16selection: modify: replace reset_context() macro with a functionDaniel Eklöf-9/+9
2021-08-16selection: don’t require two cell attr bits for selection updatingDaniel Eklöf-24/+61
2021-07-22search: reset match state when selection is cancelledDaniel Eklöf-0/+3
2021-07-18csi: erase scrollback: cancel selection if it touches the scrollbackDaniel Eklöf-3/+1
2021-06-24composed: store compose chains in a binary search treeDaniel Eklöf-20/+8
2021-06-24wip: grapheme shapingDaniel Eklöf-4/+4
2021-06-09selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offersDaniel Eklöf-6/+15
2021-06-05selection: reset ‘empty_count’ after we’ve emitted the empty cellsDaniel Eklöf-0/+2
2021-06-02selection: fix bad assertionDaniel Eklöf-2/+2
2021-05-31selection: pay attention to hard linebreaks when search for word boundariesDaniel Eklöf-4/+18
2021-05-17extract: move ‘strip_trailing_empty’ parameter from extra_finish() to extract_begin()Daniel Eklöf-2/+2
2021-05-17extract: add extract_finish_wide(), and optionally skip stripping trailing empty cellsDaniel Eklöf-1/+1
2021-05-17selection: expose find_word_boundary_{left,right}()Daniel Eklöf-12/+16
2021-05-14term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf-13/+13
2021-02-12selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf-18/+25
2021-02-12selection: don’t strip formatting C0 control characters in bracketed paste modeDaniel Eklöf-18/+25
2021-02-12config: add ‘none’ as a possible value for ‘selection-target’Daniel Eklöf-0/+3
2021-02-12selection: copy selected text to the target configured by ‘selection-target’Daniel Eklöf-1/+14
2021-02-10Convert all but 2 remaining uses of xassert(false) to BUG("...")Craig Barnes-7/+6
2021-02-02selection: remove selection_enabled()Daniel Eklöf-10/+0
2021-01-27selection: don’t replace \r\n and \n with \r in bracketed paste modeDaniel Eklöf-3/+14
2021-01-27selection: don’t replace \r\n and \n with \r in bracketed paste modeDaniel Eklöf-3/+14
2021-01-26selection: no xassert() in the releases/1.6 branchDaniel Eklöf-1/+1
2021-01-26selection: remove duplicate ‘ESC’ in switch caseDaniel Eklöf-4/+0
2021-01-26selection: DEL is 0x7f, not 0x1fDaniel Eklöf-1/+1
2021-01-26selection: codespell: stript -> stripDaniel Eklöf-1/+1
2021-01-26selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf-0/+17
2021-01-26selection: unbreak text/uri-list decoding: we’re not using \r, not \nDaniel Eklöf-1/+1
2021-01-26selection: replace \r\n and \n with \r, and strip \e from pasted textDaniel Eklöf-3/+27
2021-01-26selection: remove duplicate ‘ESC’ in switch caseDaniel Eklöf-4/+0
2021-01-26selection: DEL is 0x7f, not 0x1fDaniel Eklöf-1/+1
2021-01-26selection: codespell: stript -> stripDaniel Eklöf-1/+1
2021-01-26selection: strip non-formatting C0, BS, HT and DEL from pasted textDaniel Eklöf-0/+17
2021-01-26selection: unbreak text/uri-list decoding: we’re not using \r, not \nDaniel Eklöf-1/+1
2021-01-26selection: replace \r\n and \n with \r, and strip \e from pasted textDaniel Eklöf-3/+27
2021-01-23config: add ‘none’ as a possible value for ‘selection-target’Daniel Eklöf-0/+3
2021-01-23selection: copy selected text to the target configured by ‘selection-target’Daniel Eklöf-1/+14
2021-01-21selection: uri decode: move zero-length check into decode_one_uri()Daniel Eklöf-2/+4
2021-01-21selection: add a ‘finish’ function, called at the end of receiving clipboard dataDaniel Eklöf-0/+24
2021-01-21selection: URI decoder: break out decoding of a single URIDaniel Eklöf-27/+29
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-47/+47
2021-01-14config: add ‘select-extend-character-wise’ bind actionDaniel Eklöf-5/+17
2021-01-12selection: uri decode: move zero-length check into decode_one_uri()Daniel Eklöf-2/+4