Solved bugs are moved into this topic...
John
Posts: 7 Joined: 03.05.2017 15:56
Post
by John » 02.08.2020 16:23
When switching between tabs, the brackets pair highlight toggle state is lost. Not sure if this is intentional but looks like a bug to me.
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 03.08.2020 06:25
Cannot reproduce. what is "toggle state"? value of option "bracket_highlight" doesn't change.
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 03.08.2020 06:30
Maybe make a video (e.g. Kazam program).
John
Posts: 7 Joined: 03.05.2017 15:56
Post
by John » 03.08.2020 14:20
I can reproduce like this:
Have multiple tabs/documents open
Focus on one tab
Command Palette... -> brackets: pair highlight: toggle
Now bracket pairs are highlighted when I move caret to a bracket
Switch focus to another tab and then back to the original tab
Bracket pairs are no longer highlighted
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 03.08.2020 15:03
These steps: cannot reproduce too. toggle in 1st tab still works on return to 1st tab.
do you see it on CLEAN Cud w/o plugins?
John
Posts: 7 Joined: 03.05.2017 15:56
Post
by John » 04.08.2020 20:19
Yes, this happens with a clean cudatext-win-x64-1.108.0.0.zip
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 04.08.2020 20:23
I did this (linux+win versions)
- start Cud, no tabs opened
- in 1st tab, enter ( )
- new tab, enter [ ]
- ctrl+tab to 1st tab, "brackets pair highlight toggle", brackets hilited
- ctrl+tab to 2nd tab, brackets not hilited
- ctrl+tab to 1st, brackets hilited - all ok
John
Posts: 7 Joined: 03.05.2017 15:56
Post
by John » 04.08.2020 20:45
Yes, that works.
But not with the following code. I create two .py files with the same content from below, open cudatext, open the files and then repeat the procedure and it fails.
Code: Select all
import hello1
import hello2 as h2
import sys
import datetime
from time import sleep
data = read_data('my data.txt')
data = data[['f1','f2']]
data['a'] = 3
data['b'] = 56
data['c'] = [4,5,6]
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 04.08.2020 21:12
now I have repeated it. tks.
Alexey
Posts: 1633 Joined: 05.10.2012 22:10
Post
by Alexey » 04.08.2020 21:22
Thanks; fixed, will be fixed in next update.