aboutsummaryrefslogtreecommitdiff
path: root/text-objects.h
AgeCommit message (Collapse)AuthorFilesLines
2022-11-29fix miscellaneous spelling mistakesNick Hanley1-2/+2
2020-12-10fix typos in commentsMoesasji1-6/+6
2020-10-10text: add text_object_find_next/prevEvan Gates1-0/+3
Add two new text-object functions to search forwards/backwards for a string literal (not a regex) with the same signature as text_object_word_find_next/prev. This allows them to be used interchangeably with the word based variant through function pointers.
2020-08-01vis: remove ie inner entire text objectMarc André Tanner1-2/+0
2018-03-05Fix a typo in identifiersTwoFinger1-1/+1
2018-02-27vis: implement normal/outer paragraph text objectMarc André Tanner1-0/+1
2017-03-05text-object: remove C implementation of file name text objectMarc André Tanner1-3/+0
This is no longer needed now that the completion logic was moved to Lua.
2017-02-23text-object: remove text_object_numberMarc André Tanner1-2/+0
This was only used by the number increment/decrement action. The same functionality (and more) can be implemented in lua using something like: vis:textobject_new("in", function(win, pos) return win.file:match_at(vis.lexers.integer + vis.lexers.float, pos, 64) end, "Number text object")
2017-02-15vis: remove motion and text objects related to C functionsMarc André Tanner1-4/+0
These do not really belong into the editor core. If desired they could be implemented in Lua instead.
2016-02-15Add text object to cover lines with same indentation levelMarc André Tanner1-0/+2
By default it is mapped to i<Tab> and a<Tab> however there is currently no difference between the inner and regular version.
2016-02-11vis: implement gn and gN text objectsMarc André Tanner1-0/+3
The behaviour when no match is found is not yet optimal.
2016-02-07text-object: introduce text_object_filenameMarc André Tanner1-0/+1
2016-02-07text-object: introduce text_object_numberMarc André Tanner1-0/+2
2016-02-03text-object: add utility function for abitrarily delimited text objectsMarc André Tanner1-0/+2
2015-08-06vis: implement al and il text objectsMarc André Tanner1-0/+3
2015-08-02vis: add text objects `af` and `if`Marc André Tanner1-0/+4
They try to match C-like function definitions. The inner variant only contains the function body.
2015-08-01vis: support `ae` and `ie` text objectsMarc André Tanner1-0/+4
2015-07-28text-object: introduce utility function text_range_is_linewiseMarc André Tanner1-0/+2
2015-07-26text-object: add new functions to search for wordsMarc André Tanner1-0/+3
2015-07-23text-object: add text_range_linewiseMarc André Tanner1-0/+3
Takes a range and extends both ends to cover the remaining part of the line.
2014-12-23Distinct between inner and outer word text objectsMarc André Tanner1-4/+7
2014-09-27Add text objects for word (lowercase) variantMarc André Tanner1-3/+2
2014-09-25Perform some renames in preparation for different word typesMarc André Tanner1-1/+1
2014-09-25Add text_object_word_raw which does not include any whitespacesMarc André Tanner1-1/+3
2014-09-10Add comments where appropriateMarc André Tanner1-3/+10
2014-09-03Introduce a logical line as text-objectMarc André Tanner1-0/+1
2014-08-31Expose various text objects with individual functionsMarc André Tanner1-4/+9
2014-08-28text-objects: add objects delimited by brackets or quotesMarc André Tanner1-0/+3
2014-08-28text-object: make word object behave more like in vimMarc André Tanner1-0/+2
2014-08-25Move motion related stuff into own fileMarc André Tanner1-0/+13