[Gambas-user] New Editor Side Bar

Benoît Minisini gambas at ...1...
Sat Dec 17 13:20:48 CET 2016


Le 12/12/2016 à 15:00, Fabien Bodard a écrit :
> I added a new property to the Gambas code editor. I hope that I have
> sufficiently debugged it to avoid any inconvenience. This bar is drawn
> from the vertical kate scroll bar. It displays a preview of the entire
> code of the file. Of course as I coded in Gambas it is not really a
> preview but rather a simplified rendering taking into account the
> indentation and the length of the lines. A text rendering would have
> cost far too many resources. Some line property remains however
> highlighted as the lines in comment and in the margin the information
> if the row is changed. The marked lines are represented by a yellow
> line.
>
>
> When moving the cursor, the first and last lines of the displayed area
> are indicated by a tooltip. When browsing the bar, a mini editor shows
> the code present at the position indicated by the mouse on the bar. I
> added two features. Ctrl + Click moves the editor directly to the line
> below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying"
> editor to where it is. This makes it possible to have the code portion
> under the eyes. Just click on the "magnifying" editor to hide it.
>
> Give me your impressions, and especially remount me any problem as
> quickly as possible.
>
> Regards,
>

I think the side bar should use the editor font. Is it possible?

-- 
Benoît Minisini




More information about the User mailing list