Skip to content

Commit

Permalink
Update translation and documents
Browse files Browse the repository at this point in the history
  • Loading branch information
LiMinggang committed Dec 5, 2015
1 parent 167fe7b commit 2f30251
Show file tree
Hide file tree
Showing 12 changed files with 1,676 additions and 1,596 deletions.
2 changes: 1 addition & 1 deletion description-pak
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ GTK+ based text/hex editor
MadEdit is a cross-platform Text/Hex Editor written in C++ & wxWidgets.
MadEdit supports many useful functions, e.g. SyntaxHighlightings,
WordWrap, Encodings, Column/Hex Modes.
HomePage: http://madedit.sourceforge.net
HomePage: http://sourceforge.net/projects/madedit-mod
10 changes: 5 additions & 5 deletions help/MadPython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,31 +193,31 @@ void GoToLeftBrace()
void GoToRightBrace()
// search in [rangeFrom, rangeTo], default in [CaretPos, EndOfDoc]
int FindTextNext(const std::string &text,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline = false,
int rangeFrom = -1, int rangeTo = -1)
// search in [rangeFrom, rangeTo], rangeFrom > rangeTo, default in [CaretPos, BeginOfDoc]
int FindTextPrevious(const std::string &text,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline = false,
int rangeFrom = -1, int rangeTo = -1)
// search in [rangeFrom, rangeTo], default in [CaretPos, EndOfDoc]
int FindHexNext(const std::string &hexstr, int rangeFrom = -1, int rangeTo = -1)
// search in [rangeFrom, rangeTo], rangeFrom > rangeTo, default in [CaretPos, BeginOfDoc]
int FindHexPrevious(const std::string &hexstr, int rangeFrom = -1, int rangeTo = -1)
// replace the selected text that must match expr
int ReplaceText(const std::string &expr, const std::string &fmt,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline = false,
int rangeFrom = -1, int rangeTo = -1)
int ReplaceHex(const std::string &expr, const std::string &fmt,
int rangeFrom = -1, int rangeTo = -1)
// return the replaced count or SR_EXPR_ERROR
int ReplaceTextAll(const std::string &expr, const std::string &fmt,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline,
bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline = false,
int rangeFrom = -1, int rangeTo = -1)
int ReplaceHexAll(const std::string &expr, const std::string &fmt,
int rangeFrom = -1, int rangeTo = -1)
// list the matched data to pbegpos & pendpos
// return the found count or SR_EXPR_ERROR
int FindTextAll(const std::string &expr, bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline)
int FindTextAll(const std::string &expr, bool bRegex, bool bCaseSensitive, bool bWholeWord, bool bDotMatchNewline = false)
int FindHexAll(const std::string &expr)
bool LoadFromFile(const std::string &filename, const std::string &encoding=std::string(""))
bool SaveToFile(const std::string &filename)
Expand Down
Loading

0 comments on commit 2f30251

Please sign in to comment.