11562Re: Graphical sign loading
- Jul 20, 2010Thanks for the explanation and the screenshots.
On 20 July, 13:41, Vincent Berthoux <twins...@...> wrote:
> The sign element in vim is column of 2 characters (usually) which can associate any text to a line. The first idea for their inclusion in vim was to allow debugging, by displaying breakpoint and other things. As the debugging support is left relatively unused, we can use it for other purpose. My main utilization is to display an error & warning marker near the line where there is compilation errors.
> You can see some linked screenshots on the issue : (http://code.google.com/p/macvim/issues/detail?id=276). Without the graphical sign extension, you only get characters in the column, and I really like the fancy icons :]
> Le 20 juil. 2010 à 04:08, Craig a écrit :
> > Hi,
> > Er, what is a Graphical Sign and what is it used for? :-)
> > TIA
> > -C
> > On 16 July, 23:32, Vincent Berthoux <twins...@...> wrote:
> >> Hello
> >> Here is my patch to allow graphical sign loading and displaying in MacVim.
> >> I've tested it under Mac OS 10.6.3 with the CoreText Renderer. I'm totally new
> >> to Objective-C memory management, so you may want to check if there is no
> >> memory leak left.
> >> The implementation work as follow :
> >> For each loaded sign in vim, the vim backend convert it as a NSString and
> >> store it in the vim runtime, and send a message to a gui to load the image.
> >> The message is rerouted to the textview helper where it is loaded and
> >> stored in a associative table. The file path is used as the key. Each
> >> time the sign need to be drawn, the path is sent to the backend with the
> >> screen coordinates.
> >> Let me know if you have any suggestions/enhancements.
> >> Cheers
> >> Vincent Berthoux
> >> PS: sorry if there is a double send, I didn't saw my first mail appear anywhere.
> >> Patch-to-add-graphical-signs-to-macVim.patch
> >> 27KViewDownload
> > --
> > You received this message from the "vim_mac" maillist.
> > Do not top-post! Type your reply below the text you are replying to.
> > For more information, visithttp://www.vim.org/maillist.php
You received this message from the "vim_mac" 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
- << Previous post in topic Next post in topic >>