SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[10.1.278 Pro] - Code folding issues

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[10.1.278 Pro] - Code folding issues
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 1529
Country: Hungary

Post [10.1.278 Pro] - Code folding issues Reply with quote
I've got some problems regarding code folding in SQL Editor.



I've even got an exception when trying to invoke the feature from the menu (Issue tracking number: 36652). I was experimenting with folding features on the following code:
Code:

SELECT
    *
FROM
    [dbo].[utvonal] AS u
;

SELECT
    nsz.[id_nyomvonal]
   ,nsz.[datum_tol]
   ,nsz.[id_kocsiallas_a]
   ,nsz.[datum_tol_a]
   ,nsz.[id_kocsiallas_b]
   ,nsz.[datum_tol_b]
   ,nsz.[szakasz_sorrend]
   ,nsz.[tavolsag]
   ,nsz.[polyline]
   ,nsz.[id_szakasz_tipus]
   ,nsz.[ido]
   ,nsz.[id_szakasz]
   ,u.[GV]              AS latitude
   ,u.[GH]              AS longitude
   ,u.[szakasz_pont_sorrend]
    #szakasz_pont
FROM
    #nyomvonal_szakasz  AS nsz
INNER JOIN
    [dbo].[utvonal]     AS u
    ON  u.[nyomvonal_id] = nsz.[id_nyomvonal]
        AND nsz.szakasz_sorrend = u.[szakasz_sorrend]
)
ORDER BY
    nsz.[id_nyomvonal]
   ,u.[szakasz_sorrend]
   ,u.[szakasz_pont_sorrend]
;


I've put the caret on the SELECT on the first line and selected Toggle Collapse from View menu. That triggered the exception. It is reproducible.

Also, most of the multikey hotkeys I've set up for folding functions are either not registered when pressed or their functions do not work:
Expand all blocks: Ctrl+K, F, U
Collapse all blocks: Ctrl+K, F, A
Toggle nearest block: Ctrl+= or Ctrl+K, K or Ctrl+Shift+o
Collapse all but current block: Ctrl+K, J

None of the chording hotkeys starting with Ctrl+K do register, the followup keys (F, K, J) simply type into the editor as if Ctrl+K wasn't pressed at all.

Funnily, Ctrl+Shift+L, which is also assigned to Collapse all but current block, seems to be working properly. It folds code without throwing the exception mentioned above.
Fri Jun 14, 2019 3:22 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.