i have been editing gcode all the time, and color coding of word types is a nice thing. g's are blue, x's and y's white, z's red, ..etc. something i have not seen, however, is an editor zoom feature for really long files. for gcode, it would only really work with word color coding, because the block format and 'word space' are fairly simple. for more complex language, if you were able to zoom out from the text so that each line was only a pixel tall, say, it would be easier to scan through large streches of code for a malfunctioning region containing multiple sublevels, for example. ..kind of like if the up/down scroll bar was like a magnifying glass, and the window always displayed the whole text file, and the scroll buttons are used to pick out which area is magnified enough to be able to read, but you'd get an overall sense of where in the file you were. apple seems to have os gui widgetry kinda like that, and solidworks has a document browser with sorta the same idea, and cad programs often have a mousewheel zoom around the pointer. but i havent ever seen anything aside from tabby formatting, font style, and color coding to work with (large) text files.
--- On Sun, 3/25/12, Kirk Wallace <[email protected]> wrote: > From: Kirk Wallace <[email protected]> > Subject: [Emc-users] Highlight to HTML > To: "LinuxCNC Users List" <[email protected]> > Date: Sunday, March 25, 2012, 9:33 PM > I kinda like the highlighting that > gEdit does with C and config files > and I wanted to reproduce that with code I put in webpages. > After a > little bit of searching and looking in Synaptic, I installed > the > python-pygments package: > http://pygments.org/ > > and gave it a try: > http://www.wallacecompany.com/machine_shop/LinuxCNC/Modbus/ > > > The highlighting is different than gEdit, but it's beginning > to grow on > me. I do wonder though, what do others here use, and what > tips might be > handy? > > Oops, I didn't even think to try g-code. > > -- > Kirk Wallace > http://www.wallacecompany.com/machine_shop/ > http://www.wallacecompany.com/E45/index.html > California, USA > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
