By vertical edge I mean this vertical line that tells you the width of your code in characters. In other languages I like to keep the width within 80 characters. And in PureBasic, where possible, I would like to do the same.

I keep my Tools Panel on the left. Besides, you can set the divider precisely to column 80, which you can't do with the Tools Panel.PB wrote:Why don't you drag the Tools Panel to the required width point?
Err.. what if I want to change the font or font size? Or if I shrink the IDE then the code section gets squished and I'm back to square one.PB wrote:Why don't you drag the Tools Panel to the required width point?
Code: Select all
; Compile this, add it as an IDE Tool, with the "New" and "Load" triggers
;
*Sci = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
If *Sci
Color = SendMessage_(*Sci, #SCI_STYLEGETBACK, #STYLE_LINENUMBER, #Null)
SendMessage_(*Sci, #SCI_SETEDGECOLOUR, Color, #Null)
SendMessage_(*Sci, #SCI_SETEDGECOLUMN, 80, #Null)
SendMessage_(*Sci, #SCI_SETEDGEMODE, #EDGE_LINE, #Null)
EndIf