Ticket #1672 (closed defect: duplicate)

Opened 15 years ago

Last modified 15 years ago

backward_delete removes 1 char too much

Reported by: gotar Owned by: angel_il
Priority: minor Milestone:
Component: mc-core Version:
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

CK_InputBackwardDelete (usually alt-backspace) since 4.6.2 removes one character too much on word boundaries, e.g. commandline:

a) /usr/share/man/man1[alt-backspace]
b) blabla..blabla..blabla[alt-backspace]

results in

a) /usr/share/man
b) blabla..blabla.

instead of

a) /usr/share/man/ (with trailing slash)
b) blabla..blabla.. (with two of two dots)

The second case is better to explain, as '......' string itself is truncated all (with no single dot mark left). There's no rationale to truncate ..aaa..[alt-backspace] to . (it's all or none).

Moreover former (i.e. till 4.6.1) behaviour would be consistent with editor (CK_Delete_Word_Left -> edit_left_delete_word).

The current one makes it more difficult to modify command-line paths, as one have to add '/' by hand (while even double '' would do no harm).

Change History

comment:1 Changed 15 years ago by angel_il

  • Owner set to angel_il
  • Status changed from new to accepted
  • Milestone changed from 4.7 to 4.7.0-pre4

comment:2 Changed 15 years ago by angel_il

  • Status changed from accepted to testing
  • Resolution set to duplicate

duplicate: #256
(mayby:) if not please reopen)

comment:3 Changed 15 years ago by angel_il

  • Status changed from testing to closed

comment:4 Changed 15 years ago by angel_il

*maybe

comment:5 Changed 15 years ago by slavazanko

  • Version 4.7.0-pre3 deleted
  • Milestone 4.7.0-pre4 deleted

comment:6 Changed 15 years ago by gotar

I confirm, this is the same problem as #256.

Note: See TracTickets for help on using tickets.