<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, Lazarus developers,<br>
<br>
following the discussion of a few days ago about editortoolbar
package, I'm preparing an enhancement patch.<br>
What I've done:<br>
<br>
1) Added an option in Editortoolbar configuration, to select its
position (Top,Bottom,Right,Left)<br>
<br>
2) Added a "Show toolbar" checkbox in Editor -> General ->
Misc, and an eoEditorToolBar to TSynEditorOption2.<br>
<br>
What is missing:<br>
<br>
1) A better implementation of the Show Toolbar option.<br>
Currently Editortoolbar uses SourceEditorManagerIntf, which doesn't
expose (or if it does I didn't find how) the current editor options.
My quick and dirty solution has been just to read the editor
configuration file. As a consequence, a change is only taken in
charge when restarting the IDE, or when starting a new project.<br>
Any suggestions?<br>
<br>
2) Including Editortoolbar among the default IDE packages. I've
never done such a thing, and I don't know how to do it in a clean
way.<br>
Moreover it has to be seen if:<br>
<blockquote>
<p>a) It is desirable to do it. Given that it can be switched off
I would be in favor.</p>
<p>b) It is desirable to keep it as a separate package from the
SynEdit suite, or it should become the umptieth SynSomething.<br>
</p>
</blockquote>
Again: suggestions?<br>
<br>
Giuliano<br>
<br>
<br>
<br>
</body>
</html>