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 - Add session id - Jun 27, 2013
Resolved - Enhance the split screen posting mode - Aug 21, 2013
Resolved - fixed error when undeleting a private blog post - Jun 27, 2013
Resolved - Allow markup at the start of the title for a blog post - Jul 23, 2013
Correct any UTF-8 issues - Oct 09, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 15, 2024 - 12:50 a.m. EST