SOLVED: [DELETE POST] May be yummy but please stop eating my )

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
inspector71
Posts: 220
Joined: 22 Sep 2017 07:59

SOLVED: [DELETE POST] May be yummy but please stop eating my )

Post by inspector71 »

Hi

Sorry to load you up with a third open bug Rickard but this one is, well, maybe not so much a bug as a forever-annoyance I just have ignored but want to raise now as it's just shitty, but may be a small one to fix.

Call them braces (those are for holding up your pants though) or parentheses (parents who write multiple thesis for fun?) or brackets (they hold up shelves, don't they?) ... whatever you like (yes, I know there's probably technically correct definitions but bugger that for now, not as fun :) ) ... but why must typing close brackets (my personal preferred word, along with "curly brackets", "square brackets", haha) within a set of brackets always MUNCH the existing close bracket ?

Just seems so silly and perhaps an unfortunate case, of which there seems to be so many that text editors have not evolved beyond, wherein attempting to be helpful with auto completions is, well, only ever half-arsed.

Again, this is not a massive issue and not a criticism specifically of RJTE. Many editors either do this sort of half-arsed (half helpful, half unhelpful) auto-correction. I may be the only hack in the world who types this way but it's bloody annoying as buggery, as it were.

Amongst the 'colour' of my writing, does this bug description make sense or would it be more helpful to have a video demo?
Last edited by inspector71 on 06 Sep 2022 15:07, edited 2 times in total.
User avatar
pjj
Posts: 2109
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: May be yummy but please stop eating my )

Post by pjj »

Frankly, I got used to it. ...However I can see curly braces don't behave this way, only round and square ones, so perhaps there would be some sense in uniting it? I really don't have opinion on this.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
inspector71
Posts: 220
Joined: 22 Sep 2017 07:59

Re: May be yummy but please stop eating my )

Post by inspector71 »

pjj wrote: 06 Sep 2022 08:15 Frankly, I got used to it.
Turned off auto completion.
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: [DELETE POST] May be yummy but please stop eating my )

Post by Rickard Johansson »

Turning off "Auto close braces" should give the desired behavior.

I've marked this as solved (instead of deleting it, since it may be helpful to other users).
inspector71
Posts: 220
Joined: 22 Sep 2017 07:59

Re: SOLVED: [DELETE POST] May be yummy but please stop eating my )

Post by inspector71 »

Trouble is, auto closing braces is helpful in other cases, but I can think of one where it's not.

Is it theoretically possible to make RJTE ignore auto-completion with a keyboard override. For example, when I know I'm closing a bracket that will eat the next one, I could perhaps use Ctrl + Shift + ) ?

Not asking if this is possible with a tweak of an existing version. Does not appear to be through re-assigning keyboard shortcuts at least. Would it be possible to code into a future version?
Post Reply