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 » Community » U++ community news and announcements » ide: Now showing out of page function / class headers
ide: Now showing out of page function / class headers [message #60051] Sat, 22 July 2023 20:42 Go to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
It is for that situation when you are in some longer than page function and do not know what function it is. Now the function header is shown in the first line of editor.

[Updated on: Sat, 22 July 2023 20:42]

Report message to a moderator

Re: ide: Now showing out of page function / class headers [message #60054 is a reply to message #60051] Sun, 23 July 2023 16:45 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 1139
Registered: August 2007
Senior Contributor
Nice feature, but seem to have a litte flaw (or is this intended?):

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct MyApp : TopWindow
{
	MyApp()
	{
		// Long lines of code...
	}
	
	void SomeFn()
	{
		// Long lines of code...
	}
};

GUI_APP_MAIN
{
	MyApp().Run();
}


It only shows
struct MyApp : TopWindow {
even if the cursor is in SomeFn().


Best regards,
Oblivion


Re: ide: Now showing out of page function / class headers [message #60055 is a reply to message #60054] Mon, 24 July 2023 08:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
Oblivion wrote on Sun, 23 July 2023 16:45
Nice feature, but seem to have a litte flaw (or is this intended?):

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct MyApp : TopWindow
{
	MyApp()
	{
		// Long lines of code...
	}
	
	void SomeFn()
	{
		// Long lines of code...
	}
};

GUI_APP_MAIN
{
	MyApp().Run();
}


It only shows
struct MyApp : TopWindow {
even if the cursor is in SomeFn().


Best regards,
Oblivion


This is intended.

(struct MyApp info is more important; for a picosecond I considered showing ALL function/class headers, but do not want to steal more lines from the editor.)
Re: ide: Now showing out of page function / class headers [message #60096 is a reply to message #60051] Sun, 27 August 2023 14:04 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 225
Registered: June 2011
Experienced Member
Cool but I had to disable it under Wayland because for some reason it was slowing down the editor to a crawl... but it is an nvidia card so I wouldn't read too much into that. Seems to work fine on X11 though.
Re: ide: Now showing out of page function / class headers [message #60176 is a reply to message #60096] Thu, 21 September 2023 23:55 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14155
Registered: November 2005
Ultimate Member
jjacksonRIAB wrote on Sun, 27 August 2023 14:04
Cool but I had to disable it under Wayland


Can you tell exact details about distro? I might try to replicate...

Mirek
Re: ide: Now showing out of page function / class headers [message #60178 is a reply to message #60176] Fri, 22 September 2023 21:43 Go to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 225
Registered: June 2011
Experienced Member
Mirek,

Operating System: Arch Linux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Xeon® CPU E3-1240 V2 @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: Precision T1650
System Version: 01

If it works with Wayland for you and you're not using an nvidia card then I'd have no problem chalking it up to nvidia driver issues. Like I said, no problems on X11.
Previous Topic: U++ 2023.2 "pre-alpha"
Next Topic: U++ 2023.2rc1
Goto Forum:
  


Current Time: Wed Dec 04 17:20:08 CET 2024

Total time taken to generate the page: 0.01690 seconds