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++ » CodeEditor::IndentSpace does not work as expected in MacOS
CodeEditor::IndentSpace does not work as expected in MacOS [message #54970] Fri, 02 October 2020 12:22 Go to previous message
omari is currently offline  omari
Messages: 265
Registered: March 2010
Experienced Member
System: MacOS.

Test case:
#include <CodeEditor/CodeEditor.h>

GUI_APP_MAIN
{
	Upp::CodeEditor ed;
	ed.IndentSpaces(true);
	ed.IndentAmount(6);   // also, this line has no effect
	ed.ShowTabs().ShowSpaces();

	Upp::TopWindow w;
	w.SetRect(0, 0, 400, 400);
	
	w.Add(ed.SizePos());
	w.Run();

}


1- when a Tab key pressed, that insert 5 characters : 4 spaces and 1 tab.
2- IndentAmount has no effect.


index.php?t=getfile&id=6243&private=0


regards
omari.

[Updated on: Fri, 02 October 2020 12:23]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: no more background colors in CodeEditor
Next Topic: CodeEditor double click for break point is not comfortable
Goto Forum:
  


Current Time: Sat Apr 27 03:44:33 CEST 2024

Total time taken to generate the page: 0.03769 seconds