Issue 90682 - formatting failed when first character is "-", "+" or "="
Summary: formatting failed when first character is "-", "+" or "="
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.1
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@sc
URL:
Keywords: regression
: 91746 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-06-13 05:51 UTC by ctlimct
Modified: 2013-08-07 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ctlimct 2008-06-13 05:51:33 UTC
The bugs:
1) Enter "- testing only" into a cell without double quotes (").
2) Double click that cell to edit it.
3) Highlight the word "only" & format it to BOLD or UNDERLINE it.
   Press Enter after finish formating.

Note, the word "only" is NOT formated!!!

Now, edit the sentence to remove the first character, dash(-).
Repeat the step 2 & 3, note that the word "only" now is formated.

Summary:
Any word that start with character "-", "+" or "=", as what I've try, it didn't 
accept more than one type of formatting within the cell.
Comment 1 oc 2008-06-13 07:01:13 UTC
Hi Eike, please have a look
Comment 2 ooo 2008-06-13 15:42:25 UTC
This seems to be a regression of issue 20496, the "enhanced" formula input. The
input is tried to be parsed as a formula, which fails, and then the string is
taken, not considering text attributes. Or similar such.

@tbe: Thomas, one for you.
Comment 3 thomas.benisch 2008-07-18 11:44:24 UTC
*** Issue 91746 has been marked as a duplicate of this issue. ***
Comment 4 thomas.benisch 2008-12-11 16:25:19 UTC
accepted
Comment 5 thomas.benisch 2008-12-11 16:29:01 UTC
fixed in CWS tbe35

The following files are affected:

sc/source/ui/app/inputhdl.cxx  r265335
sc/source/ui/inc/viewfunc.hxx  r265335
sc/source/ui/view/viewfunc.cxx  r265335
sc/source/ui/view/cellsh3.cxx  r265335
Comment 6 thomas.benisch 2008-12-18 15:32:22 UTC
TBE->OC: Please verify in CWS tbe35.
Comment 7 kla 2009-01-07 09:36:15 UTC
QA-rep changed due to load balancing
Comment 8 kla 2009-01-09 11:38:30 UTC
Seen ok in CWS TBE35, follow up issue written (i97895) -> verified
Comment 9 larysahitekschool 2009-03-27 21:40:50 UTC
Verified in master version OOo3.1.0 (OOO310m7)build:9393
Comment 10 natalia_hitekschool 2009-03-28 21:52:41 UTC
Verified on OOo310m7, Windows Vista