<div class="gmail_quote">2011/2/4 Martin <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de">lazarus@mfriebe.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff"><div class="im">
On 04/02/2011 19:17, John Stoneham wrote:
<blockquote type="cite">2011/2/3 Martin <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de" target="_blank">lazarus@mfriebe.de</a>></span><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div text="#000000" bgcolor="#ffffff">
<div>Anyway try to compile with -dWithSynOverviewGutter</div>
It gives an overview of some elements:<br>
- implementation vs interface<br>
- the yellow/green changed line indications<br>
- position of bookmarks<br>
- position of breakpoints<br>
<br>
=> It is meant to one day indicate the locations of
errors and warnings.....<br>
<br>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>I compiled with and without this option and didn't notice a
difference. When a line is changed I get a yellow mark, and it
changes to green when saved -- but this happens with and without
the compile option. Bookmarks and breakpoints show the same.
However, I don't notice anything in the gutter for
implementation vs interface at all. I compiled with "make clean
all OPT="-dWithSynOverviewGutter""</div>
<div><br>
</div>
<div>Am I missing something?</div>
</blockquote></div>
With the option, SynEdit presents an overview column, next to the
vertical scrollbar (or on the right side of the edit).<br>
This column represents the entire file, not just the current screen.<div class="im"><br></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>Well, it turns out this may be a bug in the OS X implementation. It seems that it only displays if the editor is resized, which I just happened to do by accident. BUT, it must be resized for each file (resizing it once doesn't fix it for any other open files) -- and this must be done every time lazarus is run (it doesn't show upon restart, you've still got to resize the editor to display the gutter again). It does show if the file is very short and there is no vertical scroll bar, but not for any file that's long enough to need the v-scrollbar.</div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div text="#000000" bgcolor="#ffffff"><div class="im">
<br>
<blockquote type="cite">
<div><br>
</div>
<div>BTW, I cannot find this option mentioned anywhere. Are there
others that perhaps aren't documented, that might be useful?</div>
</blockquote>
<br></div>
No it is not documented. That is, because the feature is still
developed. The API for it (for people using Synedit in their own
code) may still change). <br>
<br>
The other options (for SynEdit) that I am aware of, are all either
for debugging (enable various console output), or enable asserts in
the code:<br>
SynDebug<br>
SynCaretDebug<br>
SynTrimDebug<br>
SynFoldDebug<br>
SynFoldSaveDebug<br>
SynCheckPaintLock<br>
SynClipboardExceptions<br>
AssertSynMemIndex<br>
<br>
None of them are guaranteed to stay as they are.<br>
<br>
You may find other IFDEF in the SynEdit code, some of them are left
overs from a time long gone. Using those old ones will likely not
even compile....<br></div></blockquote><div><br></div><div>Very cool, thanks! </div><div><br></div><div>-- </div></div>John<br>