paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] PG_Richedit problems: Possible patch


From: Andrew Ford
Subject: Re: [paragui-users] PG_Richedit problems: Possible patch
Date: Tue, 6 Aug 2002 09:40:00 -0700 (PDT)

Thanks Andy,
    Just a couple of comments, I can't apply the patch
to look at the code since I'm parted from my Linux
machine.  Are you sure you need the update?  You only
have to assign to the string to clear it, i.e. word =
std::string("");
    Finally, are you still getting the font error?  Is
anybody here on the freetype mailing list and could
tell me if there's something up with freetype.  I
noticed some complaints about SDL_ttf...

Andrew

--- andy uehara <address@hidden> wrote:
> Here's a possible patch for the problems I mentioned
> before. 
> 1st: When you PGRE.setText before the widget gets
> shown it does some funky stuff
> 2nd: When you load text with a space at the end it
> repeats the last word.
> 
> here's a brief description of what I did:
> 1st: I added an Update(true) to the end of every
> SetText() function call. This may not be the most
> efficient way to solve this problem though
> 2nd: In ParseWords() I moved std::string down inside
> the do{ }while loop. this makes sure that the string
> is clear everytime and doesn't add the last loaded
> word. I think this is probably the best solution.
> 
> here's the diff:
> address@hidden:~/sign/test$ diff
> /usr/src/paragui-1.0.2/src/widgets/pgrichedit.cpp
> myre.cpp
> 105a106
> >       Update(true);
> 111a113
> >       Update(true);
> 116d117
> <       std::string word;
> 124a126
> >               std::string word;
> 
> I don't know how most patches are submitted, so ask
> me
> if you have any other questions.
> andy
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]