--Boundary-00=_DfNa9QNihCGhHp1 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Hope that it is not to late for 1.2 Please check =2D --=20 cu ferdinand http://www.goesing.at =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9aNfGWjd2zH2e+LERArmfAJ9j+4aQZtSiC7hawg/E5gjNe0p7dgCfVEb1 uljhrGsxDg7M3M/L3dGpru0=3D =3D/rfk =2D----END PGP SIGNATURE----- --Boundary-00=_DfNa9QNihCGhHp1 Content-Type: text/x-diff; charset="us-ascii"; name="kspread_editors.cc.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kspread_editors.cc.diff" Index: kspread_editors.cc =================================================================== RCS file: /home/kde/koffice/kspread/kspread_editors.cc,v retrieving revision 1.54 diff -u -3 -p -r1.54 kspread_editors.cc --- kspread_editors.cc 2002/06/24 06:30:49 1.54 +++ kspread_editors.cc 2002/08/25 13:08:51 @@ -167,6 +167,18 @@ bool KSpreadTextEditor::checkChoose() return false; QString t = m_pEdit->text(); + + // allow + or - to start a formula + // to allow strings to start with + or - the string must + // be prefixed with ' + // this is how excel works + // '=' is Shift+0 on German keyboard hence difficult to use + if ( ( t[0] == '+' ) || ( t[0] == '-' ) ) + { + t = "=" + t; + m_pEdit->setText(t); + } + if ( t[0] != '=' ) canvas()->endChoose(); else --Boundary-00=_DfNa9QNihCGhHp1-- _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel