Homec4science

Improve autocomplete behavior when typing ordered lists

Authored by epriestley <git@epriestley.com> on Jan 15 2016, 20:10.

Description

Improve autocomplete behavior when typing ordered lists

Summary:
Ref T10163.

  • If a user types an autocomplete character ("@" or "#") and then a space, deactivate immediately (probably an ordered list).
  • If a user types an autocomplete character indented on a line with no other prior text, don't activate (probably an ordered list or code block).

Test Plan:
Typed:

  • # , saw immediate deactivation.
  • #, saw no activation in the first place.
  • #x, saw activation.
  • asdf #x, saw activation.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15033

Details

Committed
epriestley <git@epriestley.com>Jan 15 2016, 20:19
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7f19216e4499: Better fix for autocomplete blur (select on mousedown instead of delaying blur)
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2d495e97014d: Improve autocomplete behavior when typing ordered lists (authored by epriestley <git@epriestley.com>).Jan 15 2016, 20:19