FIXED? Code Explorer broken for Tcl/Tk

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
u00000000
Posts: 13
Joined: 06 Oct 2016 22:34

FIXED? Code Explorer broken for Tcl/Tk

Post by u00000000 »

Version 15.2x doesn't work and I think it's been broken for the past few versions. The Code Explorer fails to show any modules or procedures from the file. It appears to be broken for Tcl only. Seems to be ok for Python, Rexx, HTML.

I managed to install 14.20 on another test machine and it is working on that version. I've been unable to test intermediate versions because I went 14.2->15.2 and after that, it doesn't uninstall/reinstall properly so cannot test anything besides 15.2 now

Error when starting up now, in case you're curious it's: (But this is probably not pertinent to the original issue)
=====================

Code: Select all

Please add error details below
--------------------------------------------------------


Exception
-----------------------------------------------------------------------------------------------------
EAccessViolation
Access violation at address 0000000001BEEE94 in module 'TextEd.exe'. Read of address 00000000000000D9


System
--------------------------------------------------------
Date/Time          : 2021-12-09 17:31:17
Registered Owner   : pvadmin
Windows            : Microsoft Windows 10 Professional
Type               : WorkStation
Build              : 19041
System Up Time     : 0 days 0 hours 3 minutes 41 seconds
System Language    : English (United States)


Application
----------------------------------------------------------
Program Name       : C:\Program Files\RJ TextEd\TextEd.exe
Program Version    : Version 14.20 (64-bit)
Program Up Time    : 1 seconds, 147 milliseconds


Application options
------------------------------
Delay tab loading      : False
Blank file at startup  : False
Open with wordwrap     : False


Hardware
-------------------------------------------------------------
CPU                : Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz
Physical memory    : 8030.2890625 MB
Available memory   : 3689.66796875 MB
Used memory        : 146360 KB
Current Screen     : 1920x1168, DPI: 96
System Screen      : 1920x1168, DPI: 96


Security
-------------------------------------
Administrator                  : Yes
User                           : Yes
Guest                          : No
Power User                     : No
Account Operator               : No
System Operator                : No
Print Operator                 : No
Backup Operator                : No
Replicator                     : No
RAS Server                     : No
Remote Desktop User            : No
Network Configuration Operator : No
Incoming Forest Trust Builder  : No
Monitoring User                : No
Logging User                   : No
Authorization Access           : No
TS License Server              : No


Contact
-----------------------------------------
Contact name       : Rickard Johansson
Contact email      : support@rj-texted.se


Stack trace
-------------------------------------------------------------------------------------------------------------
Address          | Module        | Unit and class               | Method                   | Line   | Offset
-------------------------------------------------------------------------------------------------------------
0000000001BEEE94 | TextEd.exe    | Main.TMainForm               | OpenDockSiteFile         | 38645  | 176
00000000019596B8 | TextEd.exe    | JclDebug                     | JclCreateStackList       | 38645  | 176
00000000019595C6 | TextEd.exe    | JclDebug                     | DoExceptionStackTrace    | 38645  | 176
000000000195AFD2 | TextEd.exe    | JclDebug                     | DoExceptNotify           | 38645  | 176
000000000194C885 | TextEd.exe    | JclHookExcept.TNotifierItem  | DoNotify                 | 38645  | 176
000000000194CABB | TextEd.exe    | JclHookExcept                | DoExceptNotify           | 38645  | 176
000000000194CC5F | TextEd.exe    | JclHookExcept                | HookedExceptObjProc      | 38645  | 176
0000000002B1945E | rtl260.bpl    | System                       | _DelphiExceptionHandler  | 38645  | 176
00007FFD854D20CF | ntdll.dll     | System                       | _DelphiExceptionHandler  | 38645  | 176
00007FFD85481454 | ntdll.dll     | System                       | _DelphiExceptionHandler  | 38645  | 176
00007FFD854D0BFE | ntdll.dll     | System                       | _DelphiExceptionHandler  | 38645  | 176
0000000001BEEE94 | TextEd.exe    | Main.TMainForm               | OpenDockSiteFile         | 38645  | 176
0000000001B7E257 | TextEd.exe    | Main.TMainForm               | FormShow                 | 11104  | 113
00000000005EAEC2 | TextEd.exe    | Vcl.Forms.TCustomForm        | DoShow                   | 4232   | 2
00000000005F18D0 | TextEd.exe    | Vcl.Forms.TCustomForm        | CMShowingChanged         | 7007   | 11
0000000002B17E45 | rtl260.bpl    | System.TObject               | Dispatch                 | 7007   | 11
000000000044FFF0 | TextEd.exe    | Vcl.Controls.TControl        | WndProc                  | 7007   | 11
0000000000456CAF | TextEd.exe    | Vcl.Controls.TWinControl     | WndProc                  | 7007   | 11
00000000005EBE52 | TextEd.exe    | Vcl.Forms.TCustomForm        | WndProc                  | 4653   | 210
0000000001BE1047 | TextEd.exe    | Main.TMainForm               | WndProc                  | 35191  | 6
00000000008C06F5 | TextEd.exe    | ElHook.TCtlHook              | HookWndProc              | 194    | 12
0000000000D2699A | TextEd.exe    | scStyledForm.TscStyledForm   | NewWndProc               | 6324   | 304
000000000044FAE2 | TextEd.exe    | Vcl.Controls.TControl        | Perform                  | 6324   | 304
0000000000455BDF | TextEd.exe    | Vcl.Controls.TWinControl     | UpdateShowing            | 6324   | 304
0000000000455D1E | TextEd.exe    | Vcl.Controls.TWinControl     | UpdateControlState       | 6324   | 304
000000000045A034 | TextEd.exe    | Vcl.Controls.TWinControl     | CMVisibleChanged         | 6324   | 304
0000000002B17E45 | rtl260.bpl    | System.TObject               | Dispatch                 | 6324   | 304
000000000044FFF0 | TextEd.exe    | Vcl.Controls.TControl        | WndProc                  | 6324   | 304
0000000000456CAF | TextEd.exe    | Vcl.Controls.TWinControl     | WndProc                  | 6324   | 304
00000000005EBE52 | TextEd.exe    | Vcl.Forms.TCustomForm        | WndProc                  | 4653   | 210
0000000001BE1047 | TextEd.exe    | Main.TMainForm               | WndProc                  | 35191  | 6
00000000008C06F5 | TextEd.exe    | ElHook.TCtlHook              | HookWndProc              | 194    | 12
0000000000D2699A | TextEd.exe    | scStyledForm.TscStyledForm   | NewWndProc               | 6324   | 304
000000000044FAE2 | TextEd.exe    | Vcl.Controls.TControl        | Perform                  | 6324   | 304
000000000044DA35 | TextEd.exe    | Vcl.Controls.TControl        | SetVisible               | 6324   | 304
00000000005EB33D | TextEd.exe    | Vcl.Forms.TCustomForm        | SetVisible               | 4365   | 10
00000000005FA12C | TextEd.exe    | Vcl.Forms.TApplication       | Run                      | 10918  | 25
0000000001C06A61 | TextEd.exe    | TextEd                       | TextEd                   | 446    | 74
00007FFD843C7034 | KERNEL32.DLL  | TextEd                       | TextEd                   | 446    | 74
00007FFD85482651 | ntdll.dll     | TextEd                       | TextEd                   | 446    | 74


Action trace
-----------------------------------
Time     | Action        | Info
-----------------------------------
17:31:16 | FormShow()    | 
17:31:16 | FormCreate()  | 
u00000000
Posts: 13
Joined: 06 Oct 2016 22:34

Re: Code Explorer broken for Tcl/Tk

Post by u00000000 »

OK, the crash issue is just due to leftover user settings in the AppData directory. If you upgrade to 15.2, you need to delete that.

As for the Code Explorer issue, I've narrowed it down, v14.4 works, v14.6 doesn't, so something changed between those 2 versions with the Tcl module and Code Explorer.

This is Win10 64-bit 21H1 if that makes a difference
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: Code Explorer broken for Tcl/Tk

Post by Rickard Johansson »

Find the TclTk.syx file in <AppData>\Roaming\RJ TextEd\Syntax folder and add this at the end of the file:

Code: Select all

[Fold]
1_Id=^proc
1_Begin=
1_End=
1_Level=
1_ListItem=ceMethod
u00000000
Posts: 13
Joined: 06 Oct 2016 22:34

Re: FIXED? Code Explorer broken for Tcl/Tk

Post by u00000000 »

AH yes, thanks!
That seems to have worked, it at least shows all the procedures now.
Post Reply