Status: New Owner: ---- Labels: Type-Enhancement Priority-Medium Component-UI-Pango
New issue 280 by jeffwheeler: Globally track insertion vs. command modes, to select logical cursor http://code.google.com/p/yi-editor/issues/detail?id=280 Vim, obviously, differentiates between insertion and command modes, but GUI implementations also use different cursors to represent the different modes. gvim, and I'm sure most, choose a block cursor for command modes, that rests on top of the current position (like in vty), while in insertion mode, it selects just a line, like we have currently implemented in Pango. Because we draw the cursor ourselves in Pango, it's possible for us to draw a block cursor, which is pretty tricky in other Gtk applications. We should track whether we are in an insertion mode, although I'm sure the best place to put this. The BufferImpl definition seems like the obvious place, but I suspect I'm missing a more obvious place. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---