Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » [FIXED] CodeEditor does not refresh when the client code does not call to Highlight()
[FIXED] CodeEditor does not refresh when the client code does not call to Highlight() [message #43850] Wed, 05 November 2014 14:33 Go to next message
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
Hi,

Moving the call to Highlight(NULL); three line after, in the constructor of CodeEditor resolve this issue.

CodeEditor.cpp, line 970:

replace:
	Highlight(NULL);
	barline = true;
	sb.WithSizeGrip();
	DefaultHlStyles();



by:

	barline = true;
	sb.WithSizeGrip();
	DefaultHlStyles();
	Highlight(NULL);


Thanks.


regards
omari.

[Updated on: Fri, 17 March 2017 17:09]

Report message to a moderator

Re: [BUG ?] CodeEditor does not refresh when the client code does not call to Highlight() [message #43959 is a reply to message #43850] Sat, 29 November 2014 01:25 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 636
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello omari,

After investigating last changes from CodeEditor code I have found that this patch is on the trunk from revision 7864. Thank you for your patch. You can also change status from "BUG ?" to "APPROVED".

Link to revision diff: https://code.google.com/p/upp-mirror/source/diff?spec=svn786 4&r=7864&format=side&path=/trunk/uppsrc/CodeEdit or/CodeEditor.cpp

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.
Re: [APPROVED] CodeEditor does not refresh when the client code does not call to Highlight() [message #43960 is a reply to message #43959] Sat, 29 November 2014 05:50 Go to previous message
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
Hello Klugier,

thank you for this information


regards
omari.

[Updated on: Sat, 29 November 2014 05:51]

Report message to a moderator

Previous Topic: Replace in Files removes lines
Next Topic: search for " A " in "B A A B", does not find the second " A ".
Goto Forum:
  


Current Time: Fri Nov 15 08:36:35 CET 2019

Total time taken to generate the page: 0.02016 seconds