Opened 16 years ago
Closed 12 years ago
#3658 closed enhancement (fixed)
[styledEdit] cursor is big
Reported by: | chico | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/StyledEdit | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I don't think it's a bug, but it is a little weird.
- open styledEdit.
- press key 's' a few seconds. make a few characters larger, which are in the end .
- press the backspace key until there is no character.
- you will find the cursor is too big.
Expected:
when I press the backspace, I will go to the normal font size. So the cursor's behavior is not the same as when I type a few normal size characters, then I delete them all.
Attachments (2)
Change History (6)
by , 16 years ago
Attachment: | cursor-big.png added |
---|
by , 16 years ago
press the backspace key to deal with those characters
comment:1 by , 12 years ago
As in hrev45013 pedantically doing the steps from 1 to 4 doesn't resproduce described behaviour. All goes as it should work. But as soon as you press <enter> on the big-sized text chunk and make new line below this line - height of cursor on the original line stay "big" regardless of persistence big characters in it.
I suspect the explanation may be easy - invisible CR that still have "big" size is taken into account during calculating the height of the line.
BTW, BeOS StyledEdit behaves in this situation in the same way - so formally we are not obliged to do something about this issue. :-) From the user's point of view I tend to agree that it looks a bit strange.
comment:2 by , 12 years ago
It also depends on "Wrap Line" option state: having one "on" left the cursor "big" but switching line wrapping "off" decreases cursor to "normal" size.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
look at the cursor in styledEdit