19 Commits

Author SHA1 Message Date
Kazuya O'moto
ffe0166e4e Enable whole-word search
Add whole-word search functionality to DoFindNext
* Use stc's SearchInTarget instead of str.find/rfind.

Modify ShowPosition (override)
* Reverted the comment line.
  Folded lines need to be expanded to ensure the target line is visible.
2025-07-05 21:51:06 +09:00
Kazuya O'moto
f0ac2b51eb Fix up/down option not working on the initial search 2025-05-06 04:33:10 +09:00
Christian Clauss
25ba122168 Fix typos discovered by codespell 2021-08-07 18:55:49 +02:00
Robin Dunn
732ff6752b Revert "Spelling fixes in wx.lib"
This reverts commit c00b8950da.
The spelling changes were a bit too aggressive.
2020-08-31 13:01:31 -07:00
Robin Dunn
c00b8950da Spelling fixes in wx.lib 2020-07-14 12:53:31 -07:00
Per A. Brodtkorb
05ac589e2d Fixes issue 1555
Replace open-close statements by the use of "with"-blocks.

With the "With" statement, you get better syntax and exceptions handling.

"The with statement simplifies exception handling by encapsulating common
preparation and cleanup tasks."

In addition, it will automatically close the file. The with statement provides
a way for ensuring that a clean-up is always used.
2020-03-20 15:03:09 +01:00
Robin Dunn
6206d20bad Various small tweaks and fixes 2019-09-11 12:56:11 -07:00
Paul Kienzle
37a575c1fb python 2/3 compatible file handling. Refs #1193. 2019-04-13 02:19:52 -04:00
Felipe Calliari
94e9a38085 fix DeprecationWarnings in frame.py (#1043)
This commit solves the following messages:
    DeprecationWarning: Menu.Append() is deprecated
2018-10-24 19:27:47 -07:00
Robin Dunn
705aa63d75 Merge branch 'more-windowidref' into wxPy-4.0.x
(cherry picked from commit ada7b2fc51)
2018-06-25 19:12:00 -07:00
Robin Dunn
b1b0c9e297 wx.NewId() --> wx.ID_ANY or wx.Window.NewControlId() as appropriate 2018-06-19 10:31:56 -07:00
Metallicow
6e0ec5421f Trim Whitespace py directory 2016-10-12 22:12:43 -05:00
Robin Dunn
3b8646441c Fix loading/saving history in PyCrust on Python3 2016-09-07 11:05:14 -07:00
Robin Dunn
7761e1fba7 Change file() --> open() 2016-09-02 22:17:02 -07:00
Robin Dunn
bcbdcd9631 Remove more CVS $Id$ and $Revision$ tags, and a bit of code that uses them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-11 03:35:32 +00:00
Robin Dunn
c1beea6cfa PR 39 from Metallicow. Py3 and Phoenix updates, Pen and Brush style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-11 23:12:35 +00:00
Robin Dunn
ede298e62e Modified patch from Maxim Kolosov for Py3 fixes in wx.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 02:00:13 +00:00
Robin Dunn
c5bcdfe844 Various changes for PyCrust and other py classes to get them working with Phoenix and also avoid deprecation warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-27 03:16:59 +00:00
Robin Dunn
247673201b Copy (branch) wx.lib, wx.py and wx.tools from Classic, and include subpackages branched from 3rdParty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 01:36:07 +00:00