Notebooks for iPhone Answers

TextExpander fails after leaving auto-bullet/number mode

Photojhh, April 06, 2011 12:41

TextExpander (1.1.8) snippets fail after leaving auto-bullet/number mode in Notebooks (4.1.2) on my iPhone 4 (iOS 4.1). To reproduce the bug:

1. Enter a bulletted or numbered list.

2. Type another return, without adding text; Notebooks will remove that bullet or number and take you out of bullet/number mode.

3. Enter a TextExpander snippet trigger.

4. Observe that the snippet will not be expanded.

If anything else is done first between Step 2 and 3, then the snippet works correctly. This "anything" could be adding one or more characters, or cursor movement with the arrow keys. But note that the cursor must actually move. Using Arrow-Right, Arrow-Down, Ctrl-A (beginning of line) or Ctrl-E (end of line) at that time does not move the cursor (it's already at the end), and the snippet fails to expand.

-- JohnH

Alfons Schmid, April 06, 2011 17:48

Hi John,

I just tried exactly what you described, but TE expands the snippets at all times. When using the on-screen keyboard I need to careful that caps are disabled, but otherwise everything works as expected, even with the external keyboard...

I am working with iOS 4.3, but I don't think this can make much of a difference?

Best
Alfons

Photojhh, April 07, 2011 14:38

I neglected to mention that the cursor must be at the very end of the file. (It does not happen in the middle of a note.)

Also, in case it matters, the specific type of eternal keyboard is the Apple Bluetooth keyboard.

So, "Step 0" would be:

0. Use CTRL-ArrowDown (or any other means of navigation) to get to the very end of a test file.

Also, I made sure that it does not need to be a particular snippet or snippet length. For example, my original snippet was triggered by two characters. I have since reproduced the problem with the sample TextExpander snippet of "tyvm" which expands to "Thank you very much!"

Does this new info help? :-)

Photojhh, April 07, 2011 15:58

FWIW, I just reproduced the behavior without an external keyboard. For me, as long as the cursor is at the very end of the file, and I don't do anything else after Notebooks automatically exits bullet/numbering mode, it will fail to expand the next TextExpander snippet. If I enter any character, or move the cursor (even if I then move it back to the very end), the snippet will expand as it should. It only fails during that magic state immediately after Notebooks automatically exits bullet/numbering mode.

Alfons Schmid, April 08, 2011 08:36

Thank you for all the additional details. We are still unable to reproduce it, but maybe because we are already on Notebooks 4.1.3/2.1.3... We will keep an eye on it, though!

Photojhh, April 20, 2011 00:00

I have confirmed that the bug is still present in 4.1.3. I am running iOS version 4.1; perhaps that's a difference between our setups? Could you try to reproduce it on an iPhone4 running iOS 4.1?