Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.2.1, Qt Creator 4.4.0, Qt Creator 4.6.1
-
None
-
W7 x64 SP1
Description
With word wrap enabled, Qt Creator does not wrap words correctly when vertical splitting is enabled and shows horizontal scrollbar. This happens with CPP files but does NOT happen with plaintext files, even if contents are exactly same. Wrapping without vertical splitting looks fine.
Steps to reproduce:
1) Open/create .cpp any file
2) Split vertically
3) Paste the following code (or any code, I suppose)
4) Move splitter.
Result: horyzontal scrollbar appears and words are hidden.
Expected result: all text should be available without hor. scroll.
Specific code to test with:
//some 16 bytes per string. Storing chars and swatches separately and using bitfields could save alignment overhead. node(biY i_cont, Y i_csi, biBool i_cs, char i_ref, node::state i_st) : cont{i_cont}, comp_start_index{i_csi}, cont_string{i_cs}, ref{i_ref}, State{i_st} {}
It looks like this bug happens when same document is in both panes!
Attachments
Issue Links
- duplicates
-
QTBUG-117991 QtCreator Word Wrap fails with multiple windows
-
- Reported
-