On Friday, February 7, 2014 10:30:09 PM UTC-8, [email protected] wrote: > > Can anyone else confirm an odd bug I am experiencing? > > - Download a fresh TWC. > - Change the extension to TWC. > - Edit or d-click to edit a tiddler. > > Do you notice that a bunch of text appears to be selected when doing this? > I don't have this problem using TWC as an HTML under IE9. >
When you start editing a tiddler, the TWCore first renders the tiddler editor forms inputs, and then sets the focus to the main tiddler body input area and selects the current tiddler content. This seems to work fine for most browsers and platforms. However, as you noted, when using a TWC file as an HTA, the selection goes all "wonky". I am able to reproduce the problem here on my system (note, step 2 in your report should say "Change the extension to HTA", rather than "TWC"). Unfortunately, trying to debug this problem in IE9 is very difficult (if not practically impossible) and time-consuming. Fortunately, this problem is essentially cosmetic, since it doesn't cause a crash or loss/corruption of data.... and there are *two* reasonably quick work-arounds: 1) after invoking edit, ignore the errant selection and just click in the tiddler body input field to clear the selection and begin editing. or 2) assign a random text value to <<option txtEditorFocus>>, which normally has a default value of 'text', which indicates that initial focus (and selection) should be applied to the main tiddler body input area. Changing the txtEditorFocus option to some random characters (i.e., *not* a valid field name) will prevent the input selection/focus from being set when starting to edit a tiddler, thus avoiding the errant selection handling entirely. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
