| 1 | Ghost Text Autocomplete Test File |
| 2 | ================================== |
| 3 | |
| 4 | Words to test (type first 2-3 letters, then Tab to accept): |
| 5 | |
| 6 | hello |
| 7 | hello |
| 8 | hello |
| 9 | |
| 10 | world |
| 11 | world |
| 12 | world |
| 13 | |
| 14 | function |
| 15 | function |
| 16 | function |
| 17 | |
| 18 | variable |
| 19 | variable |
| 20 | variable |
| 21 | |
| 22 | testing |
| 23 | testing |
| 24 | testing |
| 25 | |
| 26 | autocomplete |
| 27 | autocomplete |
| 28 | autocomplete |
| 29 | |
| 30 | suggestion |
| 31 | suggestion |
| 32 | suggestion |
| 33 | |
| 34 | keyboard |
| 35 | keyboard |
| 36 | keyboard |
| 37 | |
| 38 | terminal |
| 39 | terminal |
| 40 | terminal |
| 41 | |
| 42 | implementation |
| 43 | implementation |
| 44 | implementation |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | Try typing below this line: |
| 49 | |
| 50 | |
| 51 | |
| 52 | --- |
| 53 | |
| 54 | Expected behaviors: |
| 55 | 1. Type "hel" -> ghost text shows "lo" in dim gray |
| 56 | 2. Press Tab -> "lo" is inserted, cursor at end of "hello" |
| 57 | 3. Type "fun" -> ghost text shows "ction" |
| 58 | 4. Press Escape -> ghost text disappears |
| 59 | 5. Type "var" -> ghost text shows "iable" |
| 60 | 6. Press arrow key -> ghost text disappears |
| 61 | 7. Tab with no ghost text -> inserts 4 spaces (normal indent) |