398 Private method to to search the associated edit widget of |
398 Private method to to search the associated edit widget of |
399 type QTextEdit. |
399 type QTextEdit. |
400 |
400 |
401 @param backwards flag indicating a backwards search |
401 @param backwards flag indicating a backwards search |
402 @type bool |
402 @type bool |
403 @return flag indicating the search result |
|
404 @rtype bool |
|
405 """ |
403 """ |
406 flags = ( |
404 flags = ( |
407 QTextDocument.FindFlag.FindBackward |
405 QTextDocument.FindFlag.FindBackward |
408 if backwards else |
406 if backwards else |
409 QTextDocument.FindFlag(0) |
407 QTextDocument.FindFlag(0) |