mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
21 lines
404 B
C++
21 lines
404 B
C++
#include <CodeEditor/CodeEditor.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN {
|
|
for(int i = 0; i < 10000; i++) {
|
|
TIMING("Test");
|
|
::IsClipboardFormatAvailable(CF_TEXT);
|
|
}
|
|
TopWindow win;
|
|
CodeEditor cedit; //2nd test
|
|
{
|
|
LineEdit edit;
|
|
win.Add(edit.SizePos());
|
|
win.Run();
|
|
cedit <<= ~edit;
|
|
}
|
|
cedit.Highlight(CodeEditor::HIGHLIGHT_CPP);
|
|
win.Add(cedit.SizePos());
|
|
win.Run();
|
|
}
|