Opened 18 years ago
Last modified 10 years ago
#864 assigned New Feature
Make subscript/superscript switchable — at Version 1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM SF | Cc: | Frederico Caldeira Knabben, Joe Kavanagh, dchojna@…, lynne_kues@…, camden.michael@… |
Description (last modified by )
I've observed strange behaviour when switching between subscript/superscript (concerns situations when both are switched on). Added this to fcknamedcommand (start of execute function):
if (((this.Name=='Subscript') && (!FCK.EditorDocument.queryCommandState('Subscript'))) || ((this.Name=='Superscript') && (!FCK.EditorDocument.queryCommandState('Superscript')))) { FCK.ExecuteNamedCommand('RemoveFormat'); }
and voila - subscript/superscript works fine ...
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1428321&group_id=75348&atid=543656
Change History (1)
comment:1 Changed 18 years ago by
Cc: | Frederico Caldeira Knabben added |
---|---|
Description: | modified (diff) |
Reporter: | changed from Martin Kou to virtimus@… |
Well... actually it is not an error to have such situation. Many will tell you that this is necessary. For example:
x<sup>B<sub>1</sub></sup>
The above is ok. Actually there is a limitation in the editor as it is not able to include a subscript inside another subscript!
But ok, we are not proposing a formula editor here... maybe the "switchable" approach is better?! Any thoughts?
I'm moving it to the Features Requests therefore.
Moved from SF. Original poster: fredck