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 » Newbie corner » Configuring CodeEditor Package
Configuring CodeEditor Package [message #61875] Tue, 02 December 2025 22:08 Go to previous message
cayeveh is currently offline  cayeveh
Messages: 1
Registered: December 2025
Junior Member
How do I configure line numbers positioning in the CodeEditor package?
Currently it seems to be left aligned, i want it to be right aligned?


I have this basic code -
include <CtrlLib/CtrlLib.h>  
#include <CodeEditor/CodeEditor.h>

using namespace Upp;  
  /*
INITBLOCK {  
    Ctrl::SetDarkThemeEnabled(false);    
    Ctrl::SetSkin(ChStdSkin);         
}
*/


class Notepad : public TopWindow {  
    CodeEditor editor;  
      
public:  
    Notepad() {  
        Title("Simple Notepad");  
        Add(editor.SizePos());  
          
        editor.LineNumbers(true);  
          
    }  
};  
  
GUI_APP_MAIN  
{  
    Notepad().Run();  
}


---------
Also, i am unable to find documentation for the CodeEditor package.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Direct printing to a specific printer
Next Topic: New system of feature requests on our forums- please read and use!
Goto Forum:
  


Current Time: Wed Dec 03 11:43:46 CET 2025

Total time taken to generate the page: 0.19244 seconds