Ingo Karkat
|
28b59bd41f
|
ingo#area#frompattern#Get(): BUG: a:matchCount uninitialized
|
2022-03-05 10:32:42 +01:00 |
|
Ingo Karkat
|
1be8756170
|
ingo#{area,text}#frompattern#Get(): ENH: Use (new) matchArea / (old) replacement to add to result
This allows the predicate to actually modify what get's added; for more flexibility.
|
2022-03-05 10:32:01 +01:00 |
|
Ingo Karkat
|
ab9fe6afe9
|
ingo#{area,text}#frompattern#Get(): ENH: Add cursorPos and additional arguments to context object
|
2022-03-05 09:21:49 +01:00 |
|
Ingo Karkat
|
f101455219
|
ingo#area#frompattern#GetCurrent() adds optional a:options.firstLnum and a:options.lastLnum
|
2020-07-18 15:27:32 +02:00 |
|
Ingo Karkat
|
f8ae89c7c1
|
ingo#area#frompattern#GetCurrent(): CHG: Turn a:returnValueOnNoSelection, a:currentPos arguments into a:options
These aren't used by any plugin yet. Having a:options allows for future extensions.
|
2020-07-18 15:27:32 +02:00 |
|
Ingo Karkat
|
99b59c8db4
|
ingo#{area,text}#frompattern#Get(): Pass context object instead of just the match
This allows for more flexibility and avoids cumbersome setup work if the predicate needs to maintain some state across individual invocations.
|
2020-03-01 12:40:33 +01:00 |
|
Ingo Karkat
|
7e63d0cd5f
|
Add optional a:Predicate argument to ingo#area#frompattern#Get() and ingo#text#frompattern#Get()
Additionally, the a:isOnlyFirstMatch and a:isUnique arguments are optional now, too.
|
2020-02-29 16:43:58 +01:00 |
|
Ingo Karkat
|
1eb3660d78
|
ingo#area#frompattern#Get(): Make last two arguments optional
Most clients use the default global matching and non-unique return. This simplifies their use in the future.
|
2020-02-29 16:16:02 +01:00 |
|
Ingo Karkat
|
19df426b3d
|
Add ingo#area#frompattern#GetCurrent() and ingo#text#frompattern#GetCurrent(), variants of ...#GetAroundHere()
|
2019-07-11 16:58:17 +02:00 |
|
Ingo Karkat
|
c870a01776
|
Documentation: Emphasize meaning of endCol in area
|
2019-03-08 22:10:07 +01:00 |
|
Ingo Karkat
|
f32794bcd8
|
Cosmetics: Remove "autoload" prefix from file headers
Inserted by a bug in my template.
|
2017-09-10 21:35:31 +02:00 |
|
Ingo Karkat
|
d07a599022
|
ingo#area#Get[Around]Here(): Better and configurable return value on no selection
I think [[0, 0], [0, 0]] is a better default and consistent with ingo#selection#area#Get(). Make this configurable, though.
|
2017-08-24 17:33:38 +02:00 |
|
Ingo Karkat
|
949da6c42d
|
Add ingo/area/frompattern.vim module
|
2017-08-24 17:18:06 +02:00 |
|