ultimatepp/uppdev/LineEdit/main.cpp
cxl 54760d306c .uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@7769 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-10-12 12:09:47 +00:00

21 lines
No EOL
450 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
LineEdit edit;
edit.ShowSpaces();
edit <<= LoadFile("C:/Users/cxl/Downloads/Nos.log");
TopWindow win;
// win.SetRect(100, 100, 100, 100);
win.Sizeable();
win.Add(edit.HSizePos(20, 20).VSizePos(20, 20));
win.Open();
edit.ShowLineEndings();
edit.ShowCurrentLine(LtCyan());
Ctrl::EventLoop();
// SaveFile(ConfigFile("data.txt"), ~edit);
}
// 156 0x9c "œ"