This are my notes in the fields of computer science and technology. Everything is written with ABSOLUTE NO WARRANTY of fitness for any purpose. Of course, feel free to comment anything.

Monday, August 10, 2009

Scite: add a vertical line at column 80

A tip for the SciTE editor: this is interesting if you want your code to be easy to print and display without horizontal scrolling.

Add the following to the global or user properties file:
edge.column=80
edge.mode=1
edge.colour=#C0DCC0
This is an excerpt of the SciTE documentation for the edge property:
Indicates long lines. The default edge.mode, 0, does not
indicate long lines. An edge.mode of 1 uses a vertical
line to indicate the specified column and an edge.mode
of 2 changes the background colour of characters beyond
that column. For proportional fonts, an edge.mode of 2
is more useful than 1.

No comments:

About Me

My photo
Hamburg, Hamburg, Germany
Former molecular biologist and web developer (Rails) and currently research scientist in bioinformatics.