Last post Jan 16, 2014 09:40 AM by XIII
Jan 12, 2014 08:10 PM|oned_gk|LINK
Sometime we write VB code in the code highlighting, but the color not correct in VB language.
Sometime i change "pretty-print" to "pretty-print lang-vb" to make the code show color corectly in VB.
Whould you like to add additional dropdownlist in code highlighting to choose language?
1. Default => pretty-print
2. C => pretty-print lang-c
3. VB => pretty-print lang-vb
4. and soon
Maybe, one more additional wraping option will be good, so we don't need to scroll when the code too long.
Jan 16, 2014 08:40 AM|tmorton|LINK
We're working on this language dropdown suggestion, given the issues with the auto-detection of VB. Thanks!
For the wrapping vs scrolling, I'm not so sure. I think wrapping lines will make the (pre-formatted) code blocks a lot more difficult to read. For example, wrapped lines interfere with indented code.
Jan 16, 2014 09:40 AM|XIII|LINK
I would prefer to not have a wrapping automatically but it would be cool if the box in which the code resides expands on hover until the most right possible width of the page (or stops 5px before the scrollbar on the right) of course still having a vertical
scrollbar if needed to show all the code.
Auto-Wrapping mostly makes an unreadable mess of the intention of the code.