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: Installation, Compiling and Running of theide » TheIde editor getting sluggish
Re: TheIde editor getting sluggish [message #45423 is a reply to message #45421] Tue, 10 November 2015 23:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
dolik.rce wrote on Tue, 10 November 2015 21:24
mirek wrote on Tue, 10 November 2015 09:26
dolik.rce wrote on Mon, 09 November 2015 21:00
Hi,

My hardware is older thinkpad (X200s) with Intel U2300 processor with @1.2GHz and 4Gb RAM.

Just tried with NOGTK version of theide and it feels significantly better. Still I can sometimes type faster than the screen updates, but it happens a lot less then with GTK version. So it really seems to be related to the backend.

Honza


Perhaps it would be possible to test CodeEditor alone, just to isolate the possible cause? (With both backends).

Also, what is your GTK2.0 version?


I have the latest GTK2 available, version 2.24.28. There is also GTK 3.18.2 installed on my computer, but that should not be interfering in any way.

Testing with simple single window app consisting of only CodeEditor, with the same C++ file as in TheIDE didn't show anything wrong. It works pretty fast. However, I was not able to make it use C++ syntax highlighting. Any hint on which CodeEditor method should I call and how?

Honza


#include <CtrlLib/CtrlLib.h>
#include <CodeEditor/CodeEditor.h>

using namespace Upp;

GUI_APP_MAIN {
	TopWindow win;
	CodeEditor ce;
	ce.Highlight("cpp");
	ce <<= "Hello world!";
	win.Add(ce.SizePos());
	win.Sizeable().Zoomable().Run();
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Failed to auto setup build method in 32bit Win 7 with VC2015
Next Topic: Slow processing of compilation/linking messages
Goto Forum:
  


Current Time: Fri Apr 19 07:43:10 CEST 2024

Total time taken to generate the page: 0.08234 seconds