ID:133467
 
I'd like the option to display a right margin in Dream Maker. One of the code conventions I like to stick to is not putting more than 80 characters on a single line, and right margins are the best way to achieve this.

A right margin is a vertical line that is drawn on top of the text editor at a specified column. In the DM options you'd just need two more options:

A checkbox - 'Enable right margin' (default: disabled)
A number field - 'Display right margin at:' (default: 80)

The right margin doesn't actually cause the text to wrap when it passes it, it's just a line to mark the 80th column.

The reasons I'd like to see it:
- Text wrapping can make code more difficult to read.
- Horizontal scroll bars make code more difficult to read.
- If you find it difficult to stick to the 80 characters per line because of embedded flow statements (if, for, while etc.) then your code probably needs to be revised.
- Right now, to limit my line width I write my code in an external editor and then paste it into DM. This is time consuming :P

If this feature already exists I'm sorry for the post, but could someone explain how to enable it. I haven't seen it in the options :P

If it doesn't, I'd be very grateful if it could be included in a future BYOND build. Thanks for making an awesome dev environment, though :)
I'd love to see *any* new features in dream maker. =x

Not a constructive post, my bad!
I'd like this too. In general, though, I find these two constructs very handy:

//345678901234567890123456789012345678901234567890123456789012345678901234567890

/*
12345678901234567890123456789012345678901234567890123456789012345678901234567890
*/
In response to Jtgibson
Jtgibson wrote:
I'd like this too. In general, though, I find these two constructs very handy:

> //345678901234567890123456789012345678901234567890123456789012345678901234567890
>
> /*
> 12345678901234567890123456789012345678901234567890123456789012345678901234567890
> */


Heh, that's a novel work around. Much easier than using a seperate text editor :)