wxtrac
wxtrac
#### 2019-07-20 02:14:19: @oneeyeman1 commented ___ Vadim, I just tested the following patch: ``` m_textrich->SetDefaultStyle(wxTextAttr(*wxBLUE, *wxWHITE)); m_textrich->AppendText("And this should be in blue and the text you " "type should be...
#### 2019-07-20 15:29:27: @vadz commented ___ IMO the number of logical lines is pretty useless as you can just count `'\n'`s in the string yourself anyhow, the number of lines...
#### 2019-08-08 22:15:17: @oneeyeman1 commented ___ Also, see #3361.
#### 2019-08-08 22:20:52: @oneeyeman1 commented ___ Vadim, Replying to [comment:17 vadz]: > IMO the number of logical lines is pretty useless as you can just count `'\n'`s in the string...
#### 2019-08-22 12:59:06: @vadz commented ___ Preserving compatibility is easy, we can just add new `GetNumberOf{Logical,Physical}Lines()` methods and leave the existing one alone. And perhaps this is what we should...
#### 2020-03-22 17:34:58: vid (vid) commented ___ vadz: You assume that PositionToXY() works with physical lines. But this is nowhere explicitly stated. It could behave differently on different platforms, just...
#### 2020-03-22 17:37:29: vid (vid) uploaded file [`textwrap.cpp`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/9b9/9b92484a95e82e1b096c7c8d429292daf79b44c5/24914c351718287c1fc670fc4486aeac5e2b85ec.cpp) (4.4 KiB) Demonstration of behavior of various wxTextCtrl features with word-wrapping on GTK.
#### 2020-03-22 18:18:52: @oneeyeman1 commented ___ Hi, Replying to [comment:21 vid]: > vadz: You assume that PositionToXY() works with physical lines. But this is nowhere explicitly stated. It could behave...
#### 2020-03-23 15:30:17: vid (vid) commented ___ Sorry, I have only very basic knowledge of git and zero experience with github, so I'd rather not post directly there, so I...
#### 2020-03-23 15:34:22: vid (vid) uploaded file [`textctrl-wrapped-lines-test.patch`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/9b9/9b92484a95e82e1b096c7c8d429292daf79b44c5/4ee2a78bc1ca3f3e5f779671e87aac039eaa41bf.patch) (2.3 KiB) Add unit tests for wxTextCtrl::Get{Physical/Logical}LineCount()