[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][gambas/gambas][master] Text editor: Add many new properties and events.



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
b5875486 by Benoît Minisini at 2026-09-24T10:26:29+02:00
Text editor: Add many new properties and events.

[GB.FORM.EDITOR]
* NEW: TextEditor: 'ExtraMargin' is a new property that allows to define a custom margin.
* NEW: TextEditor: 'DrawMargin' is a new event that is raised for drawing the contents of the custom margin.
* NEW: TextEditor: 'Insert' is a new event that is raised when new lines are inserted.
* NEW: TextEditor: 'Remove' is a new event that is raised when some lines are removed.
* NEW: TextEditor: 'LineSpacing' is a new property that returns the spacing between lines.
* NEW: TextEditor: 'MarginWidth' is a new property that returns the margin width, custom margin included.

- - - - -


4 changed files:

- comp/src/gb.form.editor/.src/CDocument.class
- comp/src/gb.form.editor/.src/TextEditor.class
- comp/src/gb.form.editor/.src/test/FTestEditor.class
- comp/src/gb.form.editor/.src/test/FTestEditor.form


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/b58754862fe438451555d36aa63676ff0b6ca0b5

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/b58754862fe438451555d36aa63676ff0b6ca0b5
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help