Resolved - Change how the code command works

finished on 6Aug2013 - still supports the code=yes command where the entire page is displayed within a read-only textarea box. and also supports the code./code.. so that multiple code fragments can be displayed within the same post of normal text.

began changing this in late June/early July 2013

[[Test post with the new code. and code.. commands]]

22jul2013 - need not to encode lt and gt symbols within code command

[ div class="codecolorer-container lua dawn" style="overflow:auto;white-space:nowrap;" ]

It's too limiting to only say code=yes.

Change to a starting and closing command syntax like with q. and q.. and with tmpl. and tmpl..

So the text within code. and code.. would be displayed either with the html code tag or within a textarea box.

The rest of the text in the post outside of code.-code.. would display as normal. This provides more functionality.

http://stackoverflow.com/questions/2295766/how-to-create-a-scrollable-div-tag-vertically-supported-in-chrome

http://stackoverflow.com/questions/14443262/cross-browser-nowrap-textarea

http://projectcerbera.com/web/articles/code-in-pre

http://stackoverflow.com/questions/657795/how-remove-wordwrap-from-textarea

syntax highlighting

#junco
#resolved

From JR's : articles
154 words - 1445 chars
created on
updated on
import date 2013-08-12 21:50:07 - #
source - versions

Related articles
Resolved - change the slash short cut link to point to the post command - Aug 20, 2013
Resolved - Fix CSS nav issue in IE 8 - Oct 10, 2013
Resolved - Add desc info to RSS feed - Aug 20, 2013
Resolved - New CPAN modules to use with Junco code - Aug 20, 2013
Resolved - Enable wiki link feature to non-existing articles - Sep 17, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 4, 2024 - 5:53 a.m. EDT