[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: TOGLTAG frame



Thanks, Carl. I do have the Nov. 7, 2004 version.

I want it to actually toggle the hide/unhide in the *altered* screen, not revert to the original one. I'm editing some text which has many XML tags; seeing the tags is a distraction, but I want to save the text-editing of the file. But don't bother with it: all that's needed are two ci's to eliminate the guillemets and NTs, so I'll do that myself.

--Harry

Reply to note from Harry Binswanger Thu, 20 Jun
2013 19:24:20 -0400

Harry:

> Turns out that I'd very much like to be able to toggle
> hide/display of XML tags, and TOGLTAG in U2 does that. Except
> that it doesn't toggle back for me. Do I have something set
> wrong? Carl, can you toggle back and forth with it?

Func AS toggles between the hidden-tags view and the original file;
note that the original file remains intact in the Alternate Screen.
TOGLTAG used to be a true (single-screen) toggle, but I changed this
behavior years ago. Alas, I didn't update the Help screen, so the
"new" usage may not be obvious. (Although, in my defense, the PRompt
does say "Original file is in alternate window".)

On the off chance that you don't have the latest version of this
frame (dated November 2004[!]), here it is:

'%--_XYENCode_start--
{{5togltag,tt}}'|Rev_Toggle_HTML_tags|Xy_deltas_[CLD_Rev.11/7/
04]'^~B'XH'BXes_1'Q2~<>1'|~~ _or_Read-only_file_-_ABort~>~~~ m_"+~+"]'^"~>~~>~<1~>~ window~>~~~'DZ~~~≪br> EI~>'DX'BXfunc_#~'Q2~+"TOGLTAG.TMP"~>'BXe
rnv_~'Q2'BXgofile_~'Q2~)~>'BXab/nv
'Q2~'BXne/100_~'Q2~~'CP~ a~>~'JM2.metas'Q2~'TF~ ~[;~>'^=;~'^=;~'^=;~'^ em>=;~'^=;~'^=;~'^=;
~'^
=;~'^;~>'^=;~'^=;~'^<=;~ >=>;~>'^&amp',=;~&'^&AMP',=;~&'^&aacut
e',=;~~814'^&agrave',=;~~787'^&a
uml',=;~~132'^&eacute',=;~:~130'^&
egrave',=;~~792'^&euml',=;~~791'^&
iacute',=;~~815'^&igrave',=;~~795
'^&iuml',=;~~793'^&oacute',=;~~816
'^&ograve',=;~~803'^&ouml',=;~~148
'^&uacute',=;~~817'^&ugrave',=;~
~805'^&uml',=;~~129'^&gt',=;~ ~<'^&GT',=;~<'^&nb
sp',=;~:_'^&NBSP',=;~:_'^&quot',=;~≪br> IV&quot',;~>"+""""+"'^&QUOT',=;~"+""""+"'^&shy',=
;~'?'^&SHY',=;~'?'^&szlig',=;~ g',;~>~225'^&SZLIG',=;~~225'^&#162',=;~ ;~>~155'^&#163',=;~~156'^&#165',=;~~157
'^&#169',=;~(C)'^&#171',=;~:~<'^&#18
7',=;~:~>'^"~>~~~~ Working~>~<1~>~~~ ~>~~~>~~ ~+"="+~+~+~~>~~ 01,~~>~~~~>~~~≪br> LBc~>~~~>'BXch~~="&"
~>a~_=~='Q2'BXwait'Q2~~ 7~>~>~~~>~~999~~999'Q2
'BXwait'Q2~>',*','^'XP'TF'DX'BXse__;~ ~>~>~~~~~~ T11~>~~~~~~ 1~>~~~~~
~>~;~>~>~'WG~<9~>'MK~~'^
~'WG~'MK~~'BXse/f__;~ ~)~>'EF'TF~~~~~>
~~>~'XD~'^~'XP'TF~<1~>~≪br> SV06,;~;~~~~ a>;~>;~~>~;~>~>~~;~≪br> NT;~>;~~>~;~>~>
~~~~~~ ~>~;~~~;~>~>~ ;~>;~~>~~;~>~>~ V12,;~;~;~>;~~>~~ ~>~<1~>'XP'TF~~~~ V06,:>;~>~>~~>~~~~~ 06,:>~>~~>~~~~ e_is_in_alternate_window~>~~B'^'^
'%--_XYENCode___end--

--
Carl Distefano
cld@xxxxxxxx