Allow clearing the history, and saving the history on demand
Let the session tab show all of the history Fix case-sensitive searches to actually allow case-insensitive Make wx.WXK_NUMPAD_ENTER equivalent to wx.WXK_RETURN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -251,13 +251,13 @@ class EditWindow(stc.StyledTextCtrl):
|
||||
|
||||
def DoFindNext(self, findData, findDlg=None):
|
||||
backward = not (findData.GetFlags() & wx.FR_DOWN)
|
||||
matchcase = findData.GetFlags() & wx.FR_MATCHCASE
|
||||
matchcase = (findData.GetFlags() & wx.FR_MATCHCASE) != 0
|
||||
end = self.GetLastPosition()
|
||||
textstring = self.GetRange(0, end)
|
||||
findstring = findData.GetFindString()
|
||||
if not matchcase:
|
||||
textstring.lower()
|
||||
findstring.lower()
|
||||
textstring = textstring.lower()
|
||||
findstring = findstring.lower()
|
||||
if backward:
|
||||
start = self.GetSelection()[0]
|
||||
loc = textstring.rfind(findstring, 0, start)
|
||||
|
Reference in New Issue
Block a user