Bugs item #1519328, was opened at 2006-07-08 20:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1519328&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scintilla
Group: Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Petitt (danpetitt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Margin widths arent set right when margin types changed

Initial Comment:
I didnt like the order of the default margins so I 
changed them, but the margin widths I set dont seem 
to take into account my margin types.

I set the following:
SCI_SETMARGINTYPEN( 0, SC_MARGIN_SYMBOL ); // bookmark
SCI_SETMARGINTYPEN( 1, SC_MARGIN_NUMBER ); // linenums
SCI_SETMARGINTYPEN( 2, SC_MARGIN_SYMBOL ); // folding

SCI_SETMARGINWIDTHN( 0, 16 );
SCI_SETMARGINWIDTHN( 1, 32 );
SCI_SETMARGINWIDTHN( 2, 16 );

But my first margin appears to be 32 (although its 
hard to see as it has the same background as line 
numbers) and the other two look to be 16 ... not the 
values I have set.

Its possible that maybe the bookmark is drawing in 
the wrong margin or too far over:
http://www.coderanger.com/test/scinmargins.gif

It could well be my misunderstanding of these but it 
doesnt seem to be right.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1519328&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to