Re: [Patch] Counting a few words

2002-10-18 Thread John Levon
On Fri, Oct 18, 2002 at 06:59:05AM +0200, Andre Poenitz wrote: > The save way would be to split the "CursorRight" into "CursorRight" and > "PlainCursorRight", the first being just a call to the latter and a > 'setCursor'... We have too many things like this already (believe me) john -- "It's a

[Patch] Counting a few words

2002-10-18 Thread Andre Poenitz
I guess this might qualify as "elementary support for 'word count'". No recursion into insets, but I could do that as well. Idea ok? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: LyXAction.C =

Re: [Patch] Counting a few words

2002-10-18 Thread Martin Vermeer
On Fri, Oct 18, 2002 at 07:05:27AM +0200, Andre Poenitz wrote: > On Fri, Oct 18, 2002 at 05:10:16AM +0930, Darren Freeman wrote: > > According to a friend's fiancee studying Law, you lose one mark for > > every word you go over, too. So in that case being able to customise the > > word count to b

Re: [Patch] Counting a few words

2002-10-18 Thread John Levon
On Thu, Oct 17, 2002 at 08:14:59PM +0200, Andre Poenitz wrote: > Definitely not in 1.3. But people seem to like to have a word count > [Is this really _that_ interesting?] It's pretty important for a lot of things, yes. > Concerning the "visual": I guess the setCursor() should be remove from the

Re: [Patch] Counting a few words

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 07:12:58PM +0100, John Levon wrote: > Oh, a wish for a decent set of iterators in lyx. Definitely not in 1.3. But people seem to like to have a word count [Is this really _that_ interesting?] Concerning the "visual": I guess the setCursor() should be remove from the cursor

Re: [Patch] Counting a few words

2002-10-18 Thread Andre Poenitz
On Fri, Oct 18, 2002 at 05:10:16AM +0930, Darren Freeman wrote: > According to a friend's fiancee studying Law, you lose one mark for > every word you go over, too. So in that case being able to customise the > word count to be anally correct would be essential because those > bastards will actuall

Re: [Patch] Counting a few words

2002-10-18 Thread John Levon
On Thu, Oct 17, 2002 at 08:06:33PM +0200, Andre Poenitz wrote: > > I guess this might qualify as "elementary support for 'word count'". > No recursion into insets, but I could do that as well. > > Idea ok? IMHO, no. This traverses the document visuall, does it not ? Oh, a wish for a decent set

Re: [Patch] Counting a few words

2002-10-18 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 07:19:07PM +0100, John Levon wrote: > > Concerning the "visual": I guess the setCursor() should be remove from the > > cursor movement functions and called "manually" only in those places where > > it _really_ needed > > There Be Dragons. The save way would be to split

Re: [Patch] Counting a few words

2002-10-18 Thread Darren Freeman
On Fri, 2002-10-18 at 03:44, Andre Poenitz wrote: > On Thu, Oct 17, 2002 at 07:12:58PM +0100, John Levon wrote: > > Oh, a wish for a decent set of iterators in lyx. > > Definitely not in 1.3. But people seem to like to have a word count > [Is this really _that_ interesting?] It is when you are to