SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: jporkkahtc on November 18, 2021, 06:28:13 pm

Title: Comment Block stack
Post by: jporkkahtc on November 18, 2021, 06:28:13 pm
In Tools > Options > Languages > Application Languages > ANSI-C > Comments
Set the Top or Bottom middle box to 2 or more characters and then CommentBlock (box) fails.

 Slick-C STACK TRACE ******************************
 Created on 11/18/2021 at 10:25:09 (64 ms)
 SlickEdit Pro Version 26.0.0.6 Copyright 1988-2021 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-3015
 Invalid argument

box.ex 2499 box()   p_window_id: 27   p_object: OI_EDITOR   p_name:
Title: Re: Comment Block stack
Post by: Dennis on November 22, 2021, 09:05:30 pm
Reproduced. 
Title: Re: Comment Block stack
Post by: Dennis on November 22, 2021, 11:27:56 pm
Good catch.  Will be fixed for the next hot fix.

I also modified "Comment Block" to do something sensible with multiple character middle box strings.  Now you can set them to something like "#$!@", and Comment Block will swear across the entire top of the comment.