[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-devel
Subject:    [aspell-devel] utf-8
From:       Evgeney <fghj () fromru ! com>
Date:       2003-11-06 10:25:33
Message-ID: 1068114332.2448.22.camel () localhost ! localdomain
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello.

After using Aspell for while in utf8 locale, I find that there are
several places,
where should put call of redrawwin to prevent appearing garbage on the
screen.
Patch in attachment. To use it, you must apply it to check_funs.cpp.

Regards,

Evgeney.


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.9">
</HEAD>
<BODY>
Hello.<BR>
<BR>
After using Aspell for while in utf8 locale, I find that there are several places,<BR>
where should put call of redrawwin to prevent appearing garbage on the screen.<BR>
Patch in attachment. To use it, you must apply it to check_funs.cpp.<BR>
<BR>
Regards,<BR>
<BR>
Evgeney.<BR>
<BR>
</BODY>
</HTML>

["utf8.1.patch" (utf8.1.patch)]

--- aspell/prog/check_funs.cpp	2002-08-27 01:01:03.000000000 +0400
+++ /usr/src/aspell/prog/check_funs.cpp	2003-11-06 13:16:50.000000000 +0300
@@ -500,6 +500,7 @@
     }
       
     wnoutrefresh(text_w);
+    redrawwin(text_w);//because of not correct work of curses with utf-8
   } else if (use_curses && !text_w) {
     // do nothing
   } else
@@ -600,6 +601,7 @@
       wmove(menu_w,5,0);
       display_menu(menu_w, menu_choices, width);
       wnoutrefresh(menu_w);
+      redrawwin(menu_w);//because of not correct work of curses with utf-8
     } else {
       //ostream str;
       int height,width;
@@ -642,6 +644,7 @@
 	print_truncate(menu_w, menu_items[i].desc, w);
       }
       wnoutrefresh(menu_w);
+      redrawwin(menu_w);//because of not correct work of curses with utf-8
     }
   } else if (use_curses && !menu_w) {
     // do nothing


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic