Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEL - clear input line in dialog #2161

Closed
mc-butler opened this issue Apr 29, 2010 · 15 comments
Closed

DEL - clear input line in dialog #2161

mc-butler opened this issue Apr 29, 2010 · 15 comments
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2161
Reporter angel_il (@ilia-maslakov)

DEL - clear input line in dialog if text in the field is not modified and cursor is not moved.

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on Apr 29, 2010 at 19:27 UTC (comment 1)

  • Milestone changed from 4.7 to 4.7.2
  • Severity changed from no branch to on review
  • Version changed from version not selected to master

branch: 2161_del_clear_dialog_field
changeset: [066cbdbf1fc10e82064548af4802b09c56c0b70f]

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Apr 30, 2010 at 6:27 UTC (comment 2)

  • Votes set to slavazanko

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on Apr 30, 2010 at 6:40 UTC (comment 3)

  • Owner set to angel_il
  • Status changed from new to assigned

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 30, 2010 at 15:37 UTC (comment 4)

  • Description edited
  • Votes slavazanko deleted
  • Milestone changed from 4.7.2 to 4.7.3
  • Summary changed from DEL - clear current field of dialog to DEL - clear input line in dialog
  • Severity changed from on review to on rework

New color cannot be set using old engine (command line, ini, environment variable).
New color is not describe neither in --help message nor in man page.

The descripthion of new color will change the i18n stuff directly before 4.7.2 release. I propose implement this feature in 4.7.3 milestone.

@mc-butler
Copy link
Author

Changed by slavazanko (@slavaz) on May 7, 2010 at 8:40 UTC (comment 5)

  • Votes set to slavazanko

@mc-butler
Copy link
Author

Changed by egmont (@egmontkob) on May 7, 2010 at 9:07 UTC (comment 6)

Out of curiosity (the CL above is no longer accessible): are you talking about Delete (aka D) or Backspace?

Delete is a very nice key, I tend to use it often when removing junk e.g. from the beginning of way too long mp3 file names.

Backspace, on the other, does nothing there anyway, so making it clear the field sounds really nice!

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on May 7, 2010 at 9:26 UTC (comment 7)

egmont: try branch 2161_show_mark_in_input

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on May 7, 2010 at 9:33 UTC (comment 8)

also you need redefine hotkeys in [input] section of mc.keymap
like this
InputLeftHighlight = shift-left
InputRightHighlight = shift-right

Here is my mc.keymap file

[editor]
EditExtMode =
EditXStore = ctrl-c
EditXPaste = ctrl-v
EditXCut = ctrl-x
EditDeleteLine = ctrl-y

[input]
InputXStore = ctrl-c
InputXPaste = ctrl-v
InputClearLine = ctrl-y

InputLeftHighlight = shift-left
InputRightHighlight = shift-right
InputBolHighlight = shift-home
InputEolHighlight = shift-end

[panel]
PanelPrevPage = pgup
PanelNextPage = pgdn
PanelSortOrderByName = ctrl-f1
PanelSortOrderByExt = ctrl-f2
PanelSortOrderBySize = ctrl-f3
PanelSortOrderByMTime = ctrl-f4

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 19, 2010 at 17:46 UTC (comment 9)

  • Votes changed from slavazanko to slavazanko andrew_b
  • Severity changed from on rework to approved

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 26, 2010 at 5:47 UTC (comment 10)

  • Severity changed from approved to on rework

We decided rename inputinactive to inputunchanged.

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on May 27, 2010 at 10:28 UTC (comment 11)

  • Severity changed from on rework to on review

@mc-butler
Copy link
Author

Changed by angel_il (@ilia-maslakov) on May 27, 2010 at 19:30 UTC (comment 12)

  • Severity changed from on review to merged
  • Votes slavazanko andrew_b deleted

Merged: [82cfa9b]

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 30, 2010 at 14:02 UTC (comment 13)

#2228 fixes compile error.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 31, 2010 at 17:30 UTC (comment 14)

  • Resolution set to fixed
  • Status changed from assigned to testing

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on May 31, 2010 at 17:30 UTC (comment 15)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant