Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA 2430: does coloring stop at column 1000 ?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Uniwares Posted - Mar 23 2022 : 12:43:50 PM
Is there a horizontal limit where coloring stops? I am seeing plain white code to the right of column 1000 here.
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 25 2022 : 08:57:54 AM
To be fair, not touching working code makes a lot of sense. If there is a confirmed bug that's one thing, but changing something for the sake of it, that's a different matter.
Uniwares Posted - Mar 25 2022 : 08:16:37 AM
Much worse is the fact that this is a String.Format() with dozens of parameters that gets inserted into a javascript method call in an asp page. ignoring the fact that most of the parameters are already initialized variables in the JS on page_load. All of that one must ignore because its working code and as such it must not be changed without approval of the whole organizational hierarchy.
So please dont put much of a priority on "bugs" like that.
feline Posted - Mar 25 2022 : 07:27:04 AM
OK, I am seeing the same thing here then. The start column of the symbol is what matters for colouring.

Lines that long must be a real pain to work with, you have my sympathies! I would be tempted to try code formatting, just to get the lines to better and more manageable length, but there are so many different preferences and options here, it can be messy.
Uniwares Posted - Mar 25 2022 : 06:07:32 AM
Nope, no half colored symbols, what I see is that any symbol that starts before column 1000 is colored, even when it exceeds column 1000, but symbols starting after column 1000, are not anymore colored. And as you can verify, the column indicator is not drawn either when set to 1000+ (999 seems the limit, to which its reset when entering the settings again) (C#, VS2017, Win7)


Here you see the column indicator set to 999 and the resulting coloring


feline Posted - Mar 24 2022 : 2:01:40 PM
I am getting the lack of colouring after column 1,000 even when word wrapped, I have put in a bug report for this:

case=147983

But its all or nothing for a single symbol, I don't get any half coloured symbols. Which IDE, version of VA and programming language are you seeing this in?
Uniwares Posted - Mar 24 2022 : 09:53:33 AM
Well, weird old code, many lines with up to 1500 characters in a single line. Noticed that words starting after column 1000 are no longer colored, words that start before are, even when they go over 1000.
feline Posted - Mar 24 2022 : 09:47:04 AM
Is this a single monster function call, or a many line block of code formatted into a single line? I will need to set up some test cases here.

I don't know of such a limit off the top of my head, but its certainly possible. Obviously it's not something that comes up often.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000