keyboard support

2003-07-05 Thread Alexander R. Pruss
I added fully customizable keyboard / single character graffiti support in CVS. So you can do such things as bind m to pop up the menu, down to go to the next link (this one is a default setting), etc. The keyboard map is stored in a PlkrKeyboardMap database, so one can beam it between units,

stylistic question

2003-07-05 Thread Alexander R. Pruss
What is proper style for an if() with a long condition? I think I have seen more than one option in the code. Here are some possibilities: if( condition1 condition2 ) { ConditionSuccessful(); } This has the disadvantage that ConditionSuccessful() is ligned up with

deleting and opening

2003-07-05 Thread Alexander R. Pruss
Some of you may recall a bug report emailed here about an NX70 crashing when deleting a document in RAM and opening another. This problem occurred with Adam's release but not with the current CVS code. Moreover, the reporter checked further and the problem only occurred when he had a CF card

Re: stylistic question

2003-07-05 Thread Chris Hawks
---Reply to mail from Alexander R. Pruss about stylistic question What is proper style for an if() with a long condition? I think I have seen more than one option in the code. Given the choice, I'd rather see: if ( shortcondition1 shortcondition2 ) { DoThis() } and

Re: stylistic question

2003-07-05 Thread Michael Nordstrom
On Sat, Jul 05, 2003, Chris Hawks wrote: if ( areallycondition shortcondition ) { DoThis() } Nope, the '' should be at the end of the first line to make it obvious that the statement on the first line is only part

Re: stylistic question

2003-07-05 Thread Michael Nordstrom
On Sat, Jul 05, 2003, Alexander R. Pruss wrote: if( condition1 condition2 ) { ConditionSuccessful(); } Wrong. There should be a space between if and '('. This has the disadvantage that ConditionSuccessful() is ligned up with condition2 Not if you follow the (at the

Non-conforming code (was: keyboard support)

2003-07-05 Thread Michael Nordstrom
On Sat, Jul 05, 2003, Alexander R. Pruss wrote: p.s. I've noticed that a bunch of things in util.c don't conform to the coding guidelines. But who am I to speak? Exactly, don't speak; fix it instead ;-) /Mike ___ plucker-dev mailing list [EMAIL

255 doc limit?

2003-07-05 Thread Alexander R. Pruss
I've been looking at the library jogdial code, and noticed that a function uses UInt8 to store the row. Now, I haven't figured out quite how the code works, but is there a 255 document limit, or is this just an offset within the page? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED]

Re: stylistic question

2003-07-05 Thread Alexander R. Pruss
What I could consider, though, is to put the '{' on a line of its own, i.e. if ( areallycondition. shortcondition ) { DoThis(); } This looks like a nice and clear way of doing it. I must say that the at the end of the line

RE: Plucker 1.41 beta oddities

2003-07-05 Thread Dennis McCunney
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Nordstrom Sent: Saturday, July 05, 2003 3:57 PM To: [EMAIL PROTECTED] Subject: Re: Plucker 1.41 beta oddities On Sat, Jul 05, 2003, Dennis McCunney wrote: Do you see Plucker 1.41 handling

Re: stylistic question

2003-07-05 Thread Chris Hawks
---Reply to mail from Alexander R. Pruss about stylistic question I must say that the at the end of the line looks a little funny to me because we mathematicians put the operator at the beginning of the next line when continuing equations in print. Exactly. ---End reply Christopher R.