Hi, I am afraid, I won't be of much help here, but you have been looking at a quite complex problem. I personally don't see myself capable of doing such complex changes that have the ability to cause regressions in other parts of the code.
Also note, that the win_line() function needs to stay in sync with e.g. the chartabsize functions, otherwise the cursor movements get out of sync with the characters displayed on the screen and the cursor may end somewhere else. Further comments further down: On Sa, 12 Jul 2025, 'Ian' via vim_dev wrote: > 2. How do you deal with fixing a bug that spans multiple subsystems? > > Also, I'm not just talking about maintaining the project, I'm > fascinated with the idea of someone, not familiar with the code, and > adding a new somewhat complex feature they need (e.g. concealing is > pretty complex), without having to backtrack all Vim's history and > read everything to understand a small part. Yes, concealing is quite complex and is still not working as expected. Try to click with a mouse at a character where this lines contains concealed characters > 3. So how did you tackle reading the source for the first time? I am old school. I grep around to find interesting places. Sometimes I also just go directly into the debugger. > > 4. And after being involved for some time, do you have any > suggestions you would have liked to have known in the > beginning? Yes, Vims source code can be overwhelming. Don't let that scare you away, but you will need a lot of patience to understand possible interactions with different subsystems. Thanks, Christian -- Sigmund Freud is alleged to have said that in the last analysis the entire field of psychology may reduce to biological electrochemistry. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/aHNiwi1yBR4AaHq/%40256bit.org.