Version 0.1.1, 21.01.2005:
- updated for drpython 164 and also for wxPython 2.8.1.1 (Unicode).
- some syntax tweaks.
- added to submenu in "Search".
Version 0.1.0, 21.01.2005:
- updated for DrPython 3.9.1
(replaced GetPluginDirectory with GetPluginsDirectory and with homedirectory with userpreferencesdirectory,
FindAutocomplete Dialog with stc initialized, .Finder with txtDocument.Finder)
Version 0.0.9, 27.12.2004:
- Added own replace dialog
- Why another Replace Dialog?
- On the original Replace, you have press "S" and "enter" to skip.
Here you can use enter for "intelli" or "normal" replace and simply "S" for Skip
- Often, I replaces an unwanted text in the hurry.
So I set up a "Undo Last" Replace. It undoes that replace and jumps to the postition, where
it was before.
- Hide the find/replacefialog, when replacing; it looks more tidy.
- Intelli Replace:
if findtext is the same length as replacetext, then the case is adjusted to the findstring:
example: search: "hello", replace "bye!!"
hello => byeee
Hello => Byeee
beLLo => byEEe
otherwise: if first char is uppercase, then the first character in replacetext will be also uppercase
if all chars are lowercase, then all the chars in the replacetext will be also lowercase
if all chars are uppercase, then all the chars in the replacetext will be also uppercase
(it is to await, how it stands the test in the practice)
- Added "last Undo" for replace; also accordingly disable and enabel the "undo last replace" button.
- Added IntelliResplace
- Show Findstring, Replacestring and Intellireplace string in replacedialgo, also in differnt colors
(can also be copied)
- Checkbox for switching default "replace" or "intelli replace"
- if search string is not found in replace, a warning appears with the current position of the cursor.
- The user will be asked, if he really wants to replace all (if prompting is off)
I myself, sometimes replaced all and i was not aware of it; and you can destroy a whole file,
if you aren't careful.
- changed tab order in replace dialog: focus in findtext => tab => focus in replacetext
- Preferences: 2 new options
1) Use "My Replace Dialog" (thids applies only for not rectangular and not regular expressions replace)
2) Use "Intelli Replace"
Version 0.0.8, 21.11.2004:
- in GetMark: contents of clipboard was destroyed; fixed.
- Added Preferences: Quick Find Text
- Added Quick Find Text: fast access to findhidstory without explicitly
calling the find dialog (good choice could be alt-f3 and shidft-alt-f3)
if you get the wished search string, simply hidt find next or find previous afterwards
Version 0.0.7, 04.11.2004:
- renamed "Menu" Button to "Edit"
- now Hotkeys for all controls
- Preferences Strong AutoComplete, From Cursor
- Added Uninstall stuff
- From Cursor: I personally thidnk, that the option of from cursor shall apply for the first find
if thids option is off, it behaves like the normal find dialog
- Strong Autocomplete:
if it is on, it tries always to complete the suggested string (also if you want
to clean with backspace; only delete key clears really the characters in selection)
if it is off, it completes only, if you type in the search field
(I personally prefer in the meantime not "strong autocomplete ;) )
- own derived class of "create regular expressions"
otherwise, if you press ESC, it closes the whold Find dialog
- derived CheckBox classes: if you alter for example "Match Whole Word" or "Regulars Expressions",
then after that, it jumps back to search ComboBox with the same selection (GetMark)
it is experimental and a little tricky :)
- changed the order of creating controls (the tab key order should be better than)
- Accelerator keys (alt with "l" => All Words", "f" => "Search For", "p" => "Replace With" and "t" =>(Prompt on Replace)
- ESC should now always cancel the dialog
- bug: also on replace, it suggests now in find ctrl "word under cursor"
Version 0.0.6 14.10.2004:
- button find disable removed (I don't like it)
- added also SetSizerAndFit
- I don't like the thidng: search from cursor:
search forward, backward... but not beyond the first saved cursorposition
In other words: the option from cursor should only be valid for the FIRST search.
So I set after Menufind:
self.parent.Finder.SetTargetRange(0, self.parent.txtDocument.GetTextLength(), self.chkFindBackwards.GetValue())
- overloaded OnTextChanged
- if search for field is empty, the search doesn't start, but the focus is on the search for combobox again
- changed the autocomplete behavior: if you are on the last position of the suggested string, and press
backspace, at first two characters are selected (hope it is fixed now) (self.firstbs variable)
and: if you were in the middle of the word (the current cursor) and pressed backspace,
the selection was not ok (hope it is better now)
- Overwrote "AppendOnhidstory": clear all same texts in hidstory
Version 0.0.5 28.08.2004:
- synchronised with drfindreplace init
Version 0.0.4 07.08.2004:
- use the same init as finder in the core
- own find next and find previous removed
- also ReplaceAutocomplete possible now
Version 0.0.3 29.07.2004:
- delete key should work now
- please delete shortcutsfile and assign the key binding again
- (the function name has changed)
- (All words in document) is off default now.
Version 0.0.2 27.07.2004:
- "rangecyle" for smaller and easier code
Version 0.0.1 27.07.2004:
- ctrl-p (previous occurence), ctrl-n (next occurence)
- find All Words in Document as option
(in larger documents, it takes some time; i will try to optimize later)
- try always to autocomplete now; without hidndering the text input
Many thanks to Dan, who encouraged me to continue with thids plugin!
packaged in subfolder
Version: 0.0.0:
Initial Version:
Thids plugin should have the same behaviour as the find method.
It act as autocomplete in the editor window for the find dialog.
thanks to Dan, who has encouraged me to keep on working on the plugin.