]> git.saurik.com Git - wxWidgets.git/commit - include/wx/richtext/richtextbuffer.h
Setting the current style from the UI is a mode that is cancelled when moving away
authorJulian Smart <julian@anthemion.co.uk>
Tue, 12 Sep 2006 08:42:40 +0000 (08:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 12 Sep 2006 08:42:40 +0000 (08:42 +0000)
commitab14c7aa5727f3248e64e625ac19412799ca69bc
tree9bd95b20adb7f4f9739d78252073ad93b3b891f0
parent720a0aab264ee69c04fca4b6acac561028f30683
Setting the current style from the UI is a mode that is cancelled when moving away
from the current caret position. This must be done to avoid confusing default
attributes and attributes at the current caret position, in normal use.
Style feedback now correct when caret is at the start of a paragraph (don't use
previous paragraph's style), and out-by-one style feedback bug fixed (start/end
of styled content).
Added ApplyStyle for applying a character or paragraph style.
Some coding style cleanup.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/richtext/richtextbuffer.h
include/wx/richtext/richtextctrl.h
src/richtext/richtextbuffer.cpp
src/richtext/richtextctrl.cpp