| 331 | } |
| 332 | |
| 333 | int TextEditorPrivate::marginsWidth() |
| 334 | { |
| 335 | int width = 0; |
| 336 | auto count = q->margins(); |
| 337 | for (int i = 0; i < count; ++i) { |
| 338 | width += q->marginWidth(i); |
| 339 | } |
| 340 | |
| 341 | return width; |
| 342 | } |
| 343 | |
| 344 | void TextEditorPrivate::setMarginVisible(TextEditorPrivate::MarginType type, bool visible) |
| 345 | { |
no test coverage detected