Notepad3: Ctrl-Backspace Should Delete Word to the Left

Created on 10 Apr 2018  路  18Comments  路  Source: rizonesoft/Notepad3

Open the Search Dialog (Ctrl-F), type "text text", press Ctrl-BackSpace.
Expected: the second word "text" is deleted from the Search String.
Actual: an extra character "" (code 0x7F) is added to the Search String.

Notepad3 (64-bit) Xperimental v3.18.409.968

change request

All 18 comments

Notepad3 (64-bit) Xperimental v3.18.411.971
I confirm: Open the Search Dialog (Ctrl-F), type "text text", press Ctrl-BackSpace.

  • Ctrl+Backspace, add also each time  (code 0x7F) : text
  • Ctrl+Del, delete all characters after the cursor instead of the first word after the cursor. text text

The input-box is a pure Windows input control, I don't know how to customize this.
Please check against Notepad, Notepad2, Notepad2-mod, Notepad++. 馃槻

Does this link help in any way?

The input-box is a pure Windows input control, I don't know how to customize this.
Please check against Notepad, Notepad2, Notepad2-mod, Notepad++. 馃槻

Yes you're right, Notepad and WordPad have the same behavior as Notepad 3.
On the other hand, Word Office 2013 works as expected?

Please test experimental beta version "_Xperimental_3.18.413.973".
(maybe there are more edit controls in other dialogs, which should have this enhancement?)

Here my observations for F/R.

  1. Crtl+Backspace: functions as expected but Undo is not more working !
  2. Ctrl+Del: If cursor at begin of the field, remove all the line at once instead of "one by one word", but here Undo is working !
  3. Crtl+Right or Left: are working as expected.

Enabling the requested feature Ctrl+Backspace is done by a "hack":
Injecting a property to the search field's underlying combobox's embedded edit-control.
The intended purpose of the property is to file-system/URL-History auto-completion (type a drive letter into the empty combo box and see whats happen ... 馃槻 - I am goging to switch that auto-completion off).
The programmer of this property adds the Ctrl+Backspace by his own - not on request and undocumented and this undocumented feature is what we want here, there is no further tuning to this.

We only have these 2 possibilities:

  1. using this "hack" as it is
    (introducing the Ctrl+Backspace with lack of Undo support, auto-completion off)
  2. switching back to former behavior of the edit-control

I, personally, can live with "missing undo in case of Ctrl+Backspace" - other undos work well, doesn't it?

It's a request from @AlexIljin, I suggest waiting for his answer.

The intended purpose of the property is to file-system/URL-History auto-completion (type a drive letter into the empty combo box and see whats happen ... 馃槻 - I am goging to switch that auto-completion off).

WelI I see ! 馃槚 馃憥

np3_xp_v973_ctrl backspace

Please test experimental beta version "_Xperimental_3.18.416.974"

Yes, with "_Xperimental_3.18.416.974", the above issue seems to be resolved. 馃槅

  1. Crtl+Backspace: functions as expected but Undo is not more working !
  2. Crtl+Right or Left: are working as expected.
  3. Ctrl+Del: If cursor at begin of the field, it remove all the line at once instead of "one by one word", but here Undo is working !

Point 3. I think that also Ctrl+Del: is not working as expected. 馃槻

Yes, Ctrl+Del is nor working as it does in the editor itself, but the behavior is as before.
I have no solution found for that, we have to stay with this behavior.

Yes, Ctrl+Del is nor working as it does in the editor itself, but the behavior is as before.

I didn't found a abnormal behavior of Ctrl+Del in the editor itself?
What did you found as abnormal?

Sorry, it should read: "... Ctrl+Del is not working (_in the search edit box_) as it does in the editor itself (_deleting next word_)".

Unfortunately, I can't find the link to the folder with the latest beta releases. Where should I look for it?

Hello @AlexIljin,
Please, take a look here: (https://github.com/rizonesoft/Notepad3/issues/432#issuecomment-379084180)

@AlexIljin : I think we can stay with this solution, so please close this issue after testing RC (#454).

Perfect!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hpwamr picture hpwamr  路  3Comments

valhristov picture valhristov  路  3Comments

zb-z picture zb-z  路  3Comments

craigo- picture craigo-  路  4Comments

blackcrack picture blackcrack  路  3Comments