no message
This commit is contained in:
parent
4934ba030c
commit
850b806bcf
@ -470,7 +470,7 @@ void IEclass::GoEOL() {
|
|||||||
|
|
||||||
// Move cursor to the last char on the line
|
// Move cursor to the last char on the line
|
||||||
col = currline->txt.length();
|
col = currline->txt.length();
|
||||||
if(currline->txt[col-1] == '\n')
|
if((currline->txt[col-1] == '\n') or ((col == (maxcol + 1)) and (currline->txt[col-1] == ' ')))
|
||||||
--col;
|
--col;
|
||||||
|
|
||||||
// String must not be longer than the window width
|
// String must not be longer than the window width
|
||||||
@ -565,7 +565,7 @@ void IEclass::GoLeft() {
|
|||||||
if(currline->prev) {
|
if(currline->prev) {
|
||||||
GoUp();
|
GoUp();
|
||||||
GoEOL();
|
GoEOL();
|
||||||
if(currline->txt[col] != '\n')
|
if((currline->txt[col] == '\n') or not ((col == (maxcol + 1)) and (currline->txt[col-1] == ' ')))
|
||||||
col--;
|
col--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -631,7 +631,7 @@ Line* IEclass::wrapit(Line** __currline, uint* __curr_col, uint* __curr_row, boo
|
|||||||
uint _wrapmargin = (_thisline->type & GLINE_QUOT) ? marginquotes : margintext;
|
uint _wrapmargin = (_thisline->type & GLINE_QUOT) ? marginquotes : margintext;
|
||||||
|
|
||||||
// Does this line need wrapping?
|
// Does this line need wrapping?
|
||||||
if(_thislen >= _wrapmargin) {
|
if((_thislen > _wrapmargin) or ((_thislen == _wrapmargin) and not (_thisline->txt[_thislen-1] == ' '))) {
|
||||||
|
|
||||||
// Reset quote string length
|
// Reset quote string length
|
||||||
_quotelen = 0;
|
_quotelen = 0;
|
||||||
|
@ -355,7 +355,7 @@ char* TokenXlat(int mode, char* input, GMsg* msg, GMsg* oldmsg, int __origarea)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
memmove(dst, ptr+1, strlen(ptr+1)+1);
|
memmove(dst, dst+6, strlen(dst+6)+1);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user