Home
last modified time | relevance | path

Searched hist:"81 f55cc89634031595877920f30a8460c305ccdd" (Results 1 – 2 of 2) sorted by relevance

/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.h81f55cc89634031595877920f30a8460c305ccdd Thu Sep 10 19:48:43 UTC 2015 Stephan Aßmus <superstippi@gmx.de> HaikuDepot, text framework: Rework blinking the caret

Make sure that the caret starts blinking half a second after it last moved.
The previous solution using Pulse() had a number of problems:
* The caret could be hidden during moving it or during typing. It would then
be shown again very soon after, i.e. when typing the next character or
when moving it to the next offset. But it looks bad anyway.
* When the caret stopped moving, it started blinking a random amount of
time afterwards, getting back into the rhythm of Pulse() messages.
However, starting to blink a constant time after the caret last moved,
looks much more satisfying.
H A DTextDocumentView.cpp81f55cc89634031595877920f30a8460c305ccdd Thu Sep 10 19:48:43 UTC 2015 Stephan Aßmus <superstippi@gmx.de> HaikuDepot, text framework: Rework blinking the caret

Make sure that the caret starts blinking half a second after it last moved.
The previous solution using Pulse() had a number of problems:
* The caret could be hidden during moving it or during typing. It would then
be shown again very soon after, i.e. when typing the next character or
when moving it to the next offset. But it looks bad anyway.
* When the caret stopped moving, it started blinking a random amount of
time afterwards, getting back into the rhythm of Pulse() messages.
However, starting to blink a constant time after the caret last moved,
looks much more satisfying.