small fixes
This commit is contained in:
parent
87b1a01de7
commit
43d19f3954
@ -12,6 +12,15 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
- Fixed small problem in editor when quoteline might left not painted
|
||||
after EDITNewLine.
|
||||
|
||||
- Fixed Ctrl-Down behaviour in lists.
|
||||
|
||||
- Fixed ignorance of index file name in @random token.
|
||||
|
||||
- Fixed missed expanding of environment variables in @file tokens.
|
||||
|
||||
- Fixed names highlighting in the header when MsgListHeader is active.
|
||||
|
||||
+ JAMSMAPIHIGHWATER is now active by default if "areafile fidoconfig"
|
||||
|
@ -1285,8 +1285,6 @@ void IEclass::Newline() {
|
||||
// wrapped
|
||||
|
||||
Undo->PushItem(EDIT_UNDO_WRAP_TEXT|BATCH_MODE, currline->prev, _quotelen, _splitbuf.length() - _quotelen);
|
||||
|
||||
setlinetype(currline);
|
||||
}
|
||||
else {
|
||||
currline = currline->next;
|
||||
@ -1295,6 +1293,7 @@ void IEclass::Newline() {
|
||||
|
||||
Undo->PushItem(EDIT_UNDO_WRAP_TEXT|BATCH_MODE, currline->prev, _quotelen1, _splitbuf.length() - _quotelen1);
|
||||
}
|
||||
setlinetype(currline);
|
||||
|
||||
// Move down the cursor
|
||||
col = 0;
|
||||
|
@ -29,9 +29,13 @@
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
char* GetRandomLine(char* __buf, size_t __bufsize, const char* __file) {
|
||||
char* GetRandomLine(char* __buf, size_t __bufsize, const char* file) {
|
||||
|
||||
Path indexfile;
|
||||
Path __file;
|
||||
|
||||
strxcpy(__file, file, sizeof(Path));
|
||||
strschg_environ(__file);
|
||||
|
||||
replaceextension(indexfile, __file, ".sdx");
|
||||
|
||||
|
@ -512,6 +512,7 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa
|
||||
(mode != MODE_WRITEHEADER) and
|
||||
(mode != MODE_WRITE) and
|
||||
(mode != MODE_HEADER)))) {
|
||||
indexfile[0] = '\0';
|
||||
strtrim(ptr);
|
||||
ptr = strskip_wht(strskip_txt(ptr));
|
||||
if(*ptr) {
|
||||
@ -536,7 +537,9 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa
|
||||
strcpy(textfile, "random.txt");
|
||||
}
|
||||
|
||||
if(indexfile[0] == '\0') {
|
||||
replaceextension(indexfile, textfile, ".mdx");
|
||||
}
|
||||
|
||||
MakePathname(textfile, CFG->cookiepath, textfile);
|
||||
MakePathname(indexfile, CFG->cookiepath, indexfile);
|
||||
|
@ -276,6 +276,7 @@ void gwinpick::cursor_scroll_up() {
|
||||
void gwinpick::cursor_scroll_down() {
|
||||
|
||||
uint oldidx = index;
|
||||
if(index != maximum_index) {
|
||||
do {
|
||||
if(index < maximum_index)
|
||||
index++;
|
||||
@ -283,6 +284,7 @@ void gwinpick::cursor_scroll_down() {
|
||||
while((not is_selectable(--index)) and (index > minimum_index))
|
||||
;
|
||||
} while(not is_selectable(index));
|
||||
}
|
||||
if(index!=oldidx)
|
||||
display_page();
|
||||
|
||||
|
Reference in New Issue
Block a user