Author Topic: Close app with select code in viewer  (Read 683 times)

gms24ru

  • Newbie
  • *
  • Posts: 8
    • View Profile
Close app with select code in viewer
« 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.
« Last Edit: December 06, 2020, 08:16:04 by gms24ru »

gms24ru

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Close app with select code in viewer
« Reply #1 on: December 06, 2020, 04:17:30 »
Select code like this.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 3749
    • View Profile
    • Multi Commander
Re: Close app with select code in viewer
« Reply #2 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.


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 3749
    • View Profile
    • Multi Commander
Re: Close app with select code in viewer
« Reply #3 on: January 07, 2021, 17:29:46 »
This should work as of the v10.3beta

printablething

  • Newbie
  • *
  • Posts: 1
  • January 2022 Calendar Printable
    • View Profile
Re: Close app with select code in viewer
« Reply #4 on: January 08, 2021, 07:40:05 »
Thank you for sharing such code. outstanding work.
January 2022 Calendar Printable
When you create a goal, you decide on what proportion time you wish to spend per week for it. January 2022 Calendar Printable helps you to schedules time to figure on your goal.