[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Need help with Kformula internals
From: Bongani Hlope <bhlope () mweb ! co ! za>
Date: 2005-04-01 18:51:04
Message-ID: 200504012051.04724.bhlope () mweb ! co ! za
[Download RAW message or body]
On Friday 01 April 2005 06:54 pm, Mark Kirby wrote:
> On Friday 01 April 2005 15:12, Mark Kirby wrote:
> >When i have modified it to use the same as
> > the line brackets i will post a new patch (it will look nicer if the '|'
> > characters all look the same).
>
> Heres my final patch for BUG:58953. (i will append it to the bug report)
>
> if you want 1 '|' just type once if you want line brackets just type '||'
> (two pipes in a row).
>
> I hope its ok.
>
> Let me know if i need to improve it.
>
> Thanks
>
> Mark
Hi
change this
+ case ']':{singlePipe = 1;}
+ case ')':{singlePipe = 1; break;}
to
+ case ']':
+ case ')':singlePipe = 1;
+ break;
when there is no break after a case statement, the next case will be executed.
So there iis no need to set singlePipe twice
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic