summaryrefslogtreecommitdiffstats
path: root/src/match.c
AgeCommit message (Collapse)Author
2024-04-16patch 9.1.0340: Problem: Error with matchaddpos() and empty listv9.1.0340Christian Brabandt
Problem: Error with matchaddpos() and empty list (@rickhow) Solution: Return early for an empty list fixes: #14525 closes: #14563 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-01-14patch 9.0.1196: code is indented more than necessaryv9.0.1196Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11813)
2022-11-18patch 9.0.0904: various comment and indent flawsv9.0.0904Bram Moolenaar
Problem: Various comment and indent flaws. Solution: Improve comments and indenting.
2022-09-29patch 9.0.0622: matchaddpos() can get slow when adding many matchesv9.0.0622Bram Moolenaar
Problem: matchaddpos() can get slow when adding many matches. Solution: Update the next available match ID when manually picking an ID and remove check if the available ID can be used. (idea by Rick Howe)
2022-09-29patch 9.0.0620: matchaddpos() can only add up to 8 matchesv9.0.0620Bram Moolenaar
Problem: matchaddpos() can only add up to 8 matches. Solution: Allocate the array of positions. (closes #11248)
2022-09-01patch 9.0.0345: error message for list argument could be clearerv9.0.0345Bram Moolenaar
Problem: Error message for list argument could be clearer. Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-07-23patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063Bram Moolenaar
Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
2022-06-06patch 8.2.5062: Coverity warns for dead codev8.2.5062Bram Moolenaar
Problem: Coverity warns for dead code. Solution: Remove the dead code.
2022-06-05patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis
Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
2022-05-31patch 8.2.5047: CurSearch highlight is often wrongv8.2.5047Bram Moolenaar
Problem: CurSearch highlight is often wrong. Solution: Remember the last highlighted position and redraw when needed.
2022-04-23patch 8.2.4812: unused struct itemv8.2.4812zeertzjq
Problem: Unused struct item. Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
2022-04-22patch 8.2.4805: CurSearch used for all matches in current linev8.2.4805Bram Moolenaar
Problem: CurSearch used for all matches in current line. Solution: Don't use the non-zero line count. (closes #10247)
2022-04-16patch 8.2.4759: CurSearch highlight does not work for multi-line matchv8.2.4759Bram Moolenaar
Problem: CurSearch highlight does not work for multi-line match. Solution: Check cursor position before adjusting columns. (closes #10133)
2022-04-09patch 8.2.4724: current instance of last search pattern not easily spottedv8.2.4724LemonBoy
Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes #10133)
2022-04-04patch 8.2.4683: verbose check with dict_find() to see if a key is presentv8.2.4683Yegappan Lakshmanan
Problem: Verbose check with dict_find() to see if a key is present. Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-05patch 8.2.4011: test fails because of changed error numberv8.2.4011Bram Moolenaar
Problem: Test fails because of changed error number. Solution: Restore old duplicate error message.
2022-01-05patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-05patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3977: error messages are spread outv8.2.3977Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-01patch 8.2.3972: error messages are spread outv8.2.3972Bram Moolenaar
Problem: Error messages are spread out. Solution: Move the last errors from globals.h to errors.h.
2022-01-01patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2022-01-01patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-29patch 8.2.3940: match highlight disappears when doing incsearch for ":s/pat"v8.2.3940Bram Moolenaar
Problem: Match highlight disappears when doing incsearch for ":s/pat". Solution: Only use line limit for incsearch highlighting. (closes #9425)
2021-11-29patch 8.2.3698: match highlighting continues over breakindentv8.2.3698Bram Moolenaar
Problem: Match highlighting continues over breakindent. Solution: Stop before the end column. (closes #9242)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
2021-07-23patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-07-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
2021-02-22patch 8.2.2542: highlight of char beyond line end is not correctv8.2.2542Bram Moolenaar
Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo) Solution: Fix counting NUL as one cell. Draw one more character if the EOL is part of the match. (closes #7883)
2020-08-15patch 8.2.1460: error messages are spread outv8.2.1460Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more messages into errors.h.
2020-07-23patch 8.2.1280: Ex command error cannot contain an argumentv8.2.1280Bram Moolenaar
Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible.
2020-06-28patch 8.2.1078: highlight and match functionality together in one filev8.2.1078Bram Moolenaar
Problem: Highlight and match functionality together in one file. Solution: Move match functionality to a separate file. (Yegappan Lakshmanan, closes #6352)