spdegabrielle
2020-5-6 12:38:24

Is there a reason you are on 6.11?


spdegabrielle
2020-5-6 12:39:06

I’m on 7.7 so we’re comparing apples and oranges


dan.ml.901
2020-5-6 14:30:47

yeah it’s part of a production so upgrading is a process. I just tried 7.4 and it doesn’t have the issue, so time to upgrade!


spdegabrielle
2020-5-6 14:32:09

Why 7.4 at this stage? 7.7[cs] is good!


dan.ml.901
2020-5-6 14:36:35

heh yeah it’s just what I have installed. I do want to try cs


laurent.orseau
2020-5-6 15:59:30

Can a bunch of insert, delete and tabify-selection and undos permanently mess up with DrRacket’s autoindent? indent-all produces completely wrong results after that. (edited, as may have been an XY problem)


laurent.orseau
2020-5-6 17:21:39

or again, could it be because I’m playing with show-content and read-syntax, maybe badly interacting with background expansion somehow?


gfb
2020-5-6 17:55:12

I had a quckscript once with some inerts and deletes, possibly with a non-ascii character, after which the definitions area started to act strange. I don’t recall the details, but will try to reproduce it when I have a chance.


gfb
2020-5-6 17:58:00

The edits might even have been confined to within a comment, something like adding ‘●’ to each side of the selection.


gfb
2020-5-6 18:01:36

Definitely no undo involved, probably no tabify-selection, in case you want to quickly check whether the insert and delete you’re doing is enough to screw it up.


gfb
2020-5-6 18:25:15

#\| Surround current to end-of-line with '★'s or '∗'s \|# #; (define ((bracketer open close) _ #:editor ted) (send ted begin-edit-sequence) (define current (send ted get-start-position)) (send* ted (insert open) (move-position 'right #false 'line) (insert close) (set-position current)) (send ted end-edit-sequence)) #; (define-script script:★—★ #:label "★ Stars Around Current to End-of-Line ★" #:shortcut-prefix (ctl shift) #:shortcut #\8 (bracketer "★ " " ★")) #; (define-script script:∗—∗ #:label "∗ Asterisks Around Current to End-of-Line ∗" #:shortcut-prefix (ctl) #:shortcut #\8 (bracketer "∗ " " ∗"))


gfb
2020-5-6 18:28:33

Those were the scripts, commented-out in a larger file of scripts since they were causing problems. But I can’t recall what problem they were causing after use.


laurent.orseau
2020-5-6 18:39:18

Thanks, I’ll give it a try