Using tab indentation can alter *nearby* text

Testing version: Version 1.0 (362), macOS 10.13.6

What were you doing: Editing text outside-but-nearby a list

What feature did you use: Text editing

What happened: Indenting text near a list inserts an extra tab character into the list

What did you expect to happen: Nearby text shouldn’t be altered by editing elsewhere in the note

Example

Steps to reproduce:

  1. Make a list of at least two items:
    * List item text 1
    * List item text 2
    
  2. Add text after the list (vertical bar “|” represents cursor):
    * List item text 1
    * List item text 2
    
    |Nearby text example.
    
  3. At the beginning of nearby text, press tab to indent. In addition to (correctly) indenting the text your cursor is at, Panda will (incorrectly) insert an additional tab character into the prior list, indenting the last item. Result:
    * List item text 1
    	* List item text 2
    
    	|Nearby text example.
    

Variations

The bug can also affect indentation-based (not fenced) code blocks that are nearby. And it can be triggered in reverse by changing the indentation of the list item (in that case, text following the list will gain an additional tab character)