Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1225 Minor colouring problem (last line)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Apr 08 2004 :  03:38:23 AM  Show Profile
Hello all,

I've noticed that the last line of a screen is often (lets say 25% of the times) not coloured. I have my screen set so, that I can see 35 and a half lines on one screen. This half line at the bottom of the screen isn't always coloured (so it stays black). I can't seem to find a pattern in it (yet).

I hope you could take a look at it sometimes.

With kind regards,
Patrick Luja

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Apr 15 2004 :  03:01:52 AM  Show Profile
Hello again,

Maybe it has some link to the way I scroll. I often use the scroll wheel or the autoscroll feature of my mouse to scroll (besides the normal page up and page down actions I do with my keyboard).

For instance if I autoscroll, and the top op the page is displaying a line half and I stop autoscrolling the text will be scrolled automatically in a way that the first line will always display a full line. Although it seems that VA X is handling this well, I just want to ask if VA X does take such automatic scrolling into account (or doesn't it need to)?

Another little effect (apart from the colouring of the last line) I see during autoscrolling is that the column indicator becomes a line instead of dots (probably due to the way this autoscrolling is handeled and the way this indicator is drawn upon it).

Although it's not much, I still hope you can use it.
Thanks in advance.

With kind regards,
Patrick Luja
Go to Top of Page

xMRi
Tomato Guru

Germany
315 Posts

Posted - Apr 15 2004 :  07:12:56 AM  Show Profile
I reported the same problem under topic 2034.

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Apr 15 2004 :  08:53:12 AM  Show Profile
Hmmm... Topic 2034 may be related, but it's about bold/italic, not coloring, so I wouldn't call this Topic a dupe of that one, necessarily...

However, my Topic 2132 (http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=2132) is a dupe of this one. I looked for other posts on this subject beforehand, but, silly me, I searched for the word 'color' instead of 'colour'. I'll go delete it and move it to this topic...
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Apr 15 2004 :  08:55:15 AM  Show Profile
The last line on the screen is suddenly not syntax coloring. If I use the mouse wheel to make it the penultimate () line instead of the last line, then it colors correctly. I never noticed this before... maybe because, weirdly, the only line that I can make do this is the red line in the code below (I posted all this code thinking that maybe syntax would help debugging it):
	CString sString(dsContracts.GetS("contract_nbr"));
	HTREEITEM hti(InsertItem(sString, TVI_ROOT, TVI_FIRST));
	HTREEITEM htiTemp(InsertItem(sCategories, hti));
	SetChildExpand(htiTemp);

	SetItemData(htiTemp, CONTRACT_CATEGORIES_NODE |
	  (SEQ_MASK & dsContracts.GetL("contract_seq")));

	SetNoEditMode(htiTemp, 0);
	SetChildExpand(hti);

	// Make a link of the contract number
	CFont* p_cFont = GetItemFont(hti, NUMBER)
		? GetItemFont(hti, NUMBER)
		: GetFont();
What's special about that line? Beats me...

[A few minutes later...] Hey guess what? Now that line works okay as the last line, and the line above it is the one that fails. Sigh...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000