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  |
omari
Messages: 276 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.
regards
omari.
[Updated on: Fri, 02 October 2020 12:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 13:44:00 CEST 2025
Total time taken to generate the page: 0.01043 seconds
|