#138 Some user drawn space ?


Will it be possible to include some user space that could be drawn by
firing up a PAINT message ?

The idea behind this is to be able to display (graphically speaking), the
current class inheritance above a method (or class) definition, or
caller's relations above a function.

To do this, either we can use space created by inserting special
comment (like /// or //\) lines, or allow user specifed size (when a text
buffer is sent, before any painting, we could set the lexer and user
space object list (like "At line 4, reserve user space which is 4 line
height", etc...)

I know that due to cross platform they might be problem with exporting
painting, but it would maybe be possible for Scintilla to send a
message saying "I'm going to draw user space object number 0 in the
list", and then the developper would send an xpm (like for
autocompletion list). So this will only slow down with visible object.

When scrolling, the user space could be grayed (and refreshed when
scrolling is finished).

This will of course drastically increase the Scintilla user experience.


  • Neil Hodgson

    Neil Hodgson - 2004-05-18

    Logged In: YES

    I think this would be a very messy thing to implement. If a
    really good implementation is contributed then I would
    consider it but won't be doing any work myself.

  • Neil Hodgson

    Neil Hodgson - 2004-05-18
    • priority: 5 --> 2
  • Neil Hodgson

    Neil Hodgson - 2004-06-07
    • assigned_to: nobody --> nyamatongwe

Log in to post a comment.