"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "uppsrc/ide/Console.cpp" between
upp-x11-src-13648.tar.gz and upp-x11-src-13659.tar.gz

About: Ultimate++ is a C++ cross-platform rapid application development framework. Stable release.

Console.cpp  (upp-x11-src-13648):Console.cpp  (upp-x11-src-13659)
skipping to change at line 61 skipping to change at line 61
Puts(t); Puts(t);
return; return;
} }
int l, h; int l, h;
GetSelection32(l, h); GetSelection32(l, h);
if(GetCursor32() == GetLength32()) l = -1; if(GetCursor32() == GetLength32()) l = -1;
EditPos p = GetEditPos(); EditPos p = GetEditPos();
SetEditable(); SetEditable();
MoveTextEnd(); MoveTextEnd();
WString t = Filter(s, sAppf).ToWString(); WString t = Filter(s, sAppf).ToWString();
int mg = sb.GetReducedViewSize().cx / GetFont().GetAveWidth(); int mg = max(40, sb.GetReducedViewSize().cx / GetFont().GetAveWidth());
if(wrap_text && mg > 4) { if(wrap_text && mg > 4) {
int x = GetColumnLine(GetCursor32()).x; int x = GetColumnLine(GetCursor32()).x;
WStringBuffer tt; WStringBuffer tt;
const wchar *q = t; const wchar *q = t;
while(*q) { while(*q) {
if(x > mg - 1) { if(x > mg - 1) {
tt.Cat('\n'); tt.Cat('\n');
tt.Cat(" "); tt.Cat(" ");
x = 4; x = 4;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)