I'm playing around with the TextMate source code and I'm trying to set the background color for a specific line. As I understand the source code there's a class, OakTextView, that is the main class for the text view. This view contains a instance of layout_t, which contains a tree of paragraph_t, which contains a vector of node_t, each node_t contains a line_t. line_t have a method to render the background.

I'm having trouble to get out the line_t which matches a given line number. How can I do that?

--
/Jacob Carlborg

_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to