Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: gms24ru on December 06, 2020, 04:15:26

Title: Close app with select code in viewer
Post by: gms24ru on December 06, 2020, 04:15:26
Hello Mathias.
An error was encountered in which the application completely closes.
If you create a file in UTF8 encoding with sql. And fill it in with the following code (especially the commented out delete statements play a role):
Code: [Select]
-- DELETE
-- DELETE
-- DELETE FROM ONE WHERE ID  IN (3672138)
-- DELETE FROM TWO  WHERE  IN (3672138)
/*
select * from other
UPDATE TO
*/
/*
ERROR
*/
Then when you select a piece of code, the program closes completely, without any notification and creating error files.

MC x64 10.1.2743 (04.12.20)
Windows 10 Pro 20H2 (19042.662) Windows Feature Experience Pack 120.2212.551.0
121212.zip is sample sql-code file.
Title: Re: Close app with select code in viewer
Post by: gms24ru on December 06, 2020, 04:17:30
Select code like this.
Title: Re: Close app with select code in viewer
Post by: Mathias (Author) on December 28, 2020, 17:29:55
I been able to reproduce this. But it is not a easy fix. It is the color formatting that makes it crash. But require a bit of work to sort out why.

Title: Re: Close app with select code in viewer
Post by: Mathias (Author) on January 07, 2021, 17:29:46
This should work as of the v10.3beta
Title: Re: Close app with select code in viewer
Post by: printablething on January 08, 2021, 07:40:05
Thank you for sharing such code. outstanding work.