ReadFindNext will work like ReadFindAll on first usage.

This commit is contained in:
Ianos Gnatiuc 2006-05-25 05:29:05 +00:00
parent 7048d1cdaa
commit 2882ba419c
3 changed files with 13 additions and 11 deletions

View File

@ -10,6 +10,8 @@ _____________________________________________________________________________
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/ ‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
_____________________________________________________________________________ _____________________________________________________________________________
+ <20>ਠ¯¥à¢®¬ ­ ¦ â¨¨ ­  ReadFindNext ¨ ¥á«¨ ReadFindAll/ReadFindHeader ­¥ ¡ë«¨
¨á¯®«ì§®¢ ­ë ¯¥à¥¤ í⨬, ⮣¤  ®­ ¡ã¤¥â à ¡®â âì ª ª ReadFindAll.
+ “«ãç襭  «®£¨ª  "¯« ¢ îé¨å" ¤¥à¥¢ì¥¢ ®â¢¥â®¢ (á¬. ReplyLinkFloat). + “«ãç襭  «®£¨ª  "¯« ¢ îé¨å" ¤¥à¥¢ì¥¢ ®â¢¥â®¢ (á¬. ReplyLinkFloat).
+ „¥à¥¢® ®â¢¥â®¢ £¥­¥à¨àã¥âáï ­¥¬­®£® ¡ëáâ॥. + „¥à¥¢® ®â¢¥â®¢ £¥­¥à¨àã¥âáï ­¥¬­®£® ¡ëáâ॥.

View File

@ -10,6 +10,9 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
+ On first pressing ReadFindNext key and ReadFindAll/ReadFindHeader was
not pressed before, it will work like ReadFindAll key.
+ Improved floating reply threads logic (see ReplyLinkFloat). + Improved floating reply threads logic (see ReplyLinkFloat).
+ Reply tread is generated a bit faster. + Reply tread is generated a bit faster.

View File

@ -218,8 +218,10 @@ void Reader() {
BodyView->highlight_color = C_READH; BodyView->highlight_color = C_READH;
BodyView->Create(); BodyView->Create();
do { do
{
AA->set_findfirst(true);
AA->set_findtype(1);
AA->isreadpm = false; AA->isreadpm = false;
AA->isreadmark = false; AA->isreadmark = false;
reader_direction = DIR_NEXT; reader_direction = DIR_NEXT;
@ -824,15 +826,10 @@ void Reader() {
break; break;
case KK_ReadFindNext: case KK_ReadFindNext:
if (!AA->get_findfirst())
{
if (AA->get_findtype() == 1) if (AA->get_findtype() == 1)
FindAll(msg, reader_topline, reader_keyok); FindAll(msg, reader_topline, reader_keyok);
else else
FindHdr(msg, reader_topline, reader_keyok); FindHdr(msg, reader_topline, reader_keyok);
}
else
reader_keyok = false;
break; break;
case KK_ReadSearch: case KK_ReadSearch: