summaryrefslogtreecommitdiffstats
path: root/src/mark.c
AgeCommit message (Collapse)Author
2023-09-20patch 9.0.1921: not possible to use the jumplist like a stackv9.0.1921Yegappan Lakshmanan
Problem: not possible to use the jumplist like a stack Solution: Add the 'jumpoptions' setting to make the jumplist a stack. Add an option for using jumplist like tag stack related: #7738 closes: #13134 ported from NeoVim: - https://neovim.io/doc/user/motion.html#jumplist-stack - neovim/neovim@39094b3 - neovim/neovim#11530 - https://vi.stackexchange.com/questions/18344/how-to-change-jumplist-behavior Based on the feedback in the previous PR, it looks like many people like this option. Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com> Co-authored-by: butwerenotthereyet <58348703+butwerenotthereyet@users.noreply.github.com>
2023-04-22patch 9.0.1476: lines put in non-current window are not displayedv9.0.1476Bram Moolenaar
Problem: Lines put in non-current window are not displayed. (Marius Gedminas) Solution: Don't increment the topline when inserting just above it. (closes #12212)
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-09-21patch 9.0.0530: using freed memory when autocmd changes markv9.0.0530Bram Moolenaar
Problem: Using freed memory when autocmd changes mark. Solution: Copy the mark before editing another buffer.
2022-06-20patch 8.2.5138: various small issuesv8.2.5138Bram Moolenaar
Problem: Various small issues. Solution: Various small improvments.
2022-04-09patch 8.2.4719: ">" marker sometimes not displayed in the jumplistv8.2.4719Christian Brabandt
Problem: ">" marker sometimes not displayed in the jumplist. Solution: If the buffer no longer exists show "-invalid-". (Christian Brabandt, closes #10131, closes #10100)
2022-03-30patch 8.2.4649: various formatting problemsv8.2.4649Bram Moolenaar
Problem: Various formatting problems. Solution: Improve the code formatting.
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
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.
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-13patch 8.2.3795: too many #ifdefsv8.2.3795Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
2021-12-05patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar
Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
2021-10-17patch 8.2.3532: the previous '' mark is restored after moving the cursorv8.2.3532Bram Moolenaar
Problem: The previous '' mark is restored after moving the cursor to the original jump position. (Tony Chen) Solution: Forget the previous position after checking. (closes #8985)
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-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-01-25patch 8.2.2407: old jumplist code is never usedv8.2.2407Bram Moolenaar
Problem: Old jumplist code is never used. Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-07-19patch 8.2.1252: ":marks" may show '< and '> mixed upv8.2.1252Bram Moolenaar
Problem: ":marks" may show '< and '> mixed up. Solution: Show the mark position as where '< and '> would jump.
2020-06-12patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar
Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
2020-06-01patch 8.2.0871: cannot use getmarklist() as a methodv8.2.0871Bram Moolenaar
Problem: Cannot use getmarklist() as a method. Solution: Make getmarklist() work as a method. Add one to the column number to match getpos(). (Yegappan Lakshmanan, closes #6176)
2020-05-31patch 8.2.0861: cannot easily get all the current marksv8.2.0861Bram Moolenaar
Problem: Cannot easily get all the current marks. Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
2019-12-27patch 8.2.0050: after deleting a file mark it is still in viminfov8.2.0050Bram Moolenaar
Problem: After deleting a file mark it is still in viminfo. Solution: When a file mark was deleted more recently than the mark in the merged viminfo file was updated, do not store the mark. (Pavol Juhas, closes #5401, closes #1339)
2019-12-04patch 8.1.2388: using old C style commentsv8.1.2388Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-09-19patch 8.1.2058: function for ex command is named inconsistentlyv8.1.2058Bram Moolenaar
Problem: Function for ex command is named inconsistently. Solution: Rename do_marks() to ex_marks().
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-07-22patch 8.1.1730: wrong place for mark viminfo supportv8.1.1730Bram Moolenaar
Problem: Wrong place for mark viminfo support. Solution: Move it to viminfo.c. (Yegappan Lakshmanan, closes #4716)
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
Problem: Alloc() returning "char_u *" causes a lot of type casts. Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to check the simple allocations.
2019-05-09patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar
Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
2019-04-27patch 8.1.1221: filtering does not work when listing marksv8.1.1221Bram Moolenaar
Problem: Filtering does not work when listing marks. Solution: Implement filtering marks. (Marcin Szamotulski, closes #3895)
2019-01-27patch 8.1.0833: memory leak when jumps output is filteredv8.1.0833Bram Moolenaar
Problem: Memory leak when jumps output is filtered. Solution: Free the filtered name. (Dominique Pelle, closes #3869)
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-19patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
2018-12-31patch 8.1.0671: cursor in the wrong column after auto-formattingv8.1.0671Bram Moolenaar
Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes #3748)
2018-10-25patch 8.1.0495: :filter only supports some commandsv8.1.0495Bram Moolenaar
Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes #2856)
2018-07-08patch 8.1.0168: output of :marks is too short with multi-byte charsv8.1.0168Bram Moolenaar
Problem: Output of :marks is too short with multi-byte chars. (Tony Mechelynck) Solution: Get more bytes from the text line.
2018-02-13patch 8.0.1513: the jumplist is not always properly cleaned upv8.0.1513Bram Moolenaar
Problem: The jumplist is not always properly cleaned up. Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
2018-02-11patch 8.0.1498: getjumplist() returns duplicate entriesv8.0.1498Bram Moolenaar
Problem: Getjumplist() returns duplicate entries. (lacygoill) Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-08-13patch 8.0.0930: terminal buffers are stored in the viminfo filev8.0.0930Bram Moolenaar
Problem: Terminal buffers are stored in the viminfo file while they can't be useful. Solution: Skip terminal buffers for file marks and buffer list
2017-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-14patch 8.0.0457: using :move messes up manual foldsv8.0.0457Bram Moolenaar
Problem: Using :move messes up manual folds. Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim patch #6221)
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-01-28patch 8.0.0255: setpos() does not use the buffer argument for all marksv8.0.0255Bram Moolenaar
Problem: When calling setpos() with a buffer argument it often is ignored. (Matthew Malcomson) Solution: Make the buffer argument work for all marks local to a buffer. (neovim #5713) Add more tests.
2016-10-15patch 8.0.0039v8.0.0039Bram Moolenaar
Problem: When Vim 8 reads an old viminfo and exits, the next time marks are not read from viminfo. (Ned Batchelder) Solution: Set a mark when it wasn't set before, even when the timestamp is zero. (closes #1170)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-24patch 7.4.2101v7.4.2101Bram Moolenaar
Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)