[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: anoyance when backspace deleting inside parenthesis()
[Thread Prev] | [Thread Next]
- Subject: Re: anoyance when backspace deleting inside parenthesis()
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Fri, 15 Mar 2024 22:45:21 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 15/03/2024 à 22:23, Bruce Steers a écrit :
there's something a bit annoying when deleting a line of text using/holding backspace.Consider this line... Message(Error.Text & gb.Lf & Error.Backtrace.Join("\n"))If I want to delete the Backtrace part I might place the cursor between the last 2 closed brackets and hold backspace to delete the inside part but the following happens..when the string gets deleted down to "Message(Error.Text & gb.Lf & Error.Backtrace.Join()"removing the preceding open bracket auto removes the closing one so i then haveMessage(Error.Text & gb.Lf & i lost my end bracket. the feature is otherwise good but could it detect holding the key?Maybe the auto-remove could happen only in a KeyUp event so if holding down the backspace key to delete it will not auto-remove, only if deleting 1 char and letting the key up?Respects BruceS
I don't think it can be done in a reliable way. I will see what is possible, but I can't promise anything.
Anyway, automatic feature like deletion of successive brackets are never 100% accurate. Because there is no way to know what the user wants exactly. By fixing one specific issue like that, you usually create another issue on some other behaviour.
Regards, -- Benoît Minisini.
anoyance when backspace deleting inside parenthesis() | Bruce Steers <bsteers4@xxxxxxxxx> |