Ticket #383 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

Autocompletion in editor don't work

Reported by: slavazanko Owned by: slavazanko
Priority: major Milestone: 4.7.0-pre1
Component: mc-core Version: master
Keywords: commited-master Cc: pahan@…
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Test case:
1) open new file for edit (shift+F4)
2) type 'Teststring', press 'Enter'
3) type 'Test' and press Esc,Tab (alt+tab)

Must be autocompleted to 'Teststring', but nothing do.

Also, autocomplete works inly with English words (0-9a-zA-Z mask). I think, need rework.

Change History

comment:1 Changed 15 years ago by slavazanko

  • Status changed from new to accepted
  • Keywords review added

created branch 383_editor_autocomplete (parent: master)

Commits:
Fix autocompletion: changeset:1a83d7168e8ed03f0c5e0961b289c335b7eae716
Autocompletion of any words: changeset:2a008929fbdb7fabfa6104224865134593f723a0

Review, please.

comment:2 Changed 15 years ago by styx

  • Keywords vote-styx added

Work well for me

comment:3 follow-up: ↓ 4 Changed 15 years ago by andrew_b

  • Keywords rework added; review vote-styx removed

Autocomplete doesn't find the word at the begin of file.

How to reproduce:

  1. Create new empty file using Shift-F4.
  2. Type the 'abc' word at the position 0 in the 1st line.
  3. Press Enter.
  4. Type 'a', then press Esc-Tab. Result: nothing happened.
  5. Go to the begin of file.
  6. Insert any char (even space) at the begin of 1st line. Now this line is ' abc'.
  7. Go to the end of 2nd line (after the 'a' char).
  8. Press Esc-Tab. Result: 'a' autocompleted to the 'abc'.

comment:4 in reply to: ↑ 3 Changed 15 years ago by andrew_b

Oh, sorry...

Replying to andrew_b:

  1. Insert any char (even space) at the begin of 1st line. Now this line is ' abc'.
  1. Insert space at the begin of 1st line. Now this line is ' abc'.

comment:5 Changed 15 years ago by slavazanko

  • Milestone changed from 4.7 to 4.7.0-pre1

comment:6 Changed 15 years ago by Hubbitus

  • Cc pahan@… added

comment:7 Changed 15 years ago by slavazanko

  • Keywords review added; rework removed

Autocomplete doesn't find the word at the begin of file.

changeset:a271cb0e7126ac1ecf5632273d5d734203afa3c1

Now fixed. review, please.

comment:8 Changed 15 years ago by andrew_b

  • Keywords vote-andrew_b added

comment:9 Changed 15 years ago by angel_il

  • Blocked By 419 added

comment:10 Changed 15 years ago by angel_il

shift-f4
input:
w <enter>
wWWWWWW

-move cursor

press ecs tab

i think current word need skip.

comment:11 Changed 15 years ago by angel_il

fox: move cursor to left. place after w< here >WWWWWW

comment:12 Changed 15 years ago by angel_il

  • Keywords rework added; review vote-andrew_b removed

comment:13 Changed 15 years ago by angel_il

  • Keywords review vote-andrew_b vote-angel_il added; rework removed

now it feature :)

comment:14 Changed 15 years ago by angel_il

  • Keywords approved added

comment:15 Changed 15 years ago by slavazanko

  • Status changed from accepted to testing
  • Keywords commited-master added; review vote-andrew_b vote-angel_il approved removed
  • Resolution set to fixed
  • Blocked By 419 removed

comment:16 Changed 15 years ago by slavazanko

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.