Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Andre Poenitz
On Mon, Oct 15, 2007 at 03:47:42PM +0200, Enrico Forestieri wrote: > On Mon, Oct 15, 2007 at 03:01:19PM +0200, Abdelrazak Younes wrote: > > > > > > > Do you mean > > > > > > if (it == unicodesymbols.end()) > > > return false; > > > ? > > > > Yes, that's what Andre means :-) > > I

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Andre Poenitz
On Mon, Oct 15, 2007 at 01:21:51PM +0200, Enrico Forestieri wrote: > On Mon, Oct 15, 2007 at 08:46:15AM +0200, Andre Poenitz wrote: > > > > +bool Encodings::isKnownLangChar(char_type c, string & preamble) > > > +{ > > > + CharInfoMap::const_iterator const it = unicodesymbols.find(c); > > > + if (i

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Oct 15, 2007 at 03:01:19PM +0200, Abdelrazak Younes wrote: Do you mean if (it == unicodesymbols.end()) return false; ? Yes, that's what Andre means :-) I've done that. Thanks. I'd feel more comfortable with ... + 1 < ... Me too, bu

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Enrico Forestieri
On Mon, Oct 15, 2007 at 03:01:19PM +0200, Abdelrazak Younes wrote: > > > > Do you mean > > > > if (it == unicodesymbols.end()) > > return false; > > ? > > Yes, that's what Andre means :-) I've done that. > >> I'd feel more comfortable with ... + 1 < ... > > > > Me too, but th

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Oct 15, 2007 at 08:46:15AM +0200, Andre Poenitz wrote: +bool Encodings::isKnownLangChar(char_type c, string & preamble) +{ + CharInfoMap::const_iterator const it = unicodesymbols.find(c); + if (it != unicodesymbols.end()) { + if (it->se

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-15 Thread Enrico Forestieri
On Mon, Oct 15, 2007 at 08:46:15AM +0200, Andre Poenitz wrote: > > +bool Encodings::isKnownLangChar(char_type c, string & preamble) > > +{ > > + CharInfoMap::const_iterator const it = unicodesymbols.find(c); > > + if (it != unicodesymbols.end()) { > > + if (it->second.preamble != "te

Re: [Cvslog] r20931 - in /lyx-devel/trunk: lib/unicodesymbols src/Enco...

2007-10-14 Thread Andre Poenitz
On Fri, Oct 12, 2007 at 06:21:53PM -, [EMAIL PROTECTED] wrote: > Author: forenr > Date: Fri Oct 12 20:21:51 2007 > New Revision: 20931 > > URL: http://www.lyx.org/trac/changeset/20931 > Log: > Add support for greek and cyrillic chars such that it is not > necessary to mark them in the proper l