mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
LFUN_DOC_ANONYMIZE -> LFUN_BUFFER_ANONYMIZE per JMarc's suggestion.
This commit is contained in:
parent
08f6354bc9
commit
624a6ed91d
@ -1112,7 +1112,7 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
|||||||
case LFUN_WORD_FIND_FORWARD:
|
case LFUN_WORD_FIND_FORWARD:
|
||||||
case LFUN_WORD_FIND_BACKWARD:
|
case LFUN_WORD_FIND_BACKWARD:
|
||||||
case LFUN_WORD_REPLACE:
|
case LFUN_WORD_REPLACE:
|
||||||
case LFUN_DOC_ANONYMIZE:
|
case LFUN_BUFFER_ANONYMIZE:
|
||||||
case LFUN_MARK_OFF:
|
case LFUN_MARK_OFF:
|
||||||
case LFUN_MARK_ON:
|
case LFUN_MARK_ON:
|
||||||
case LFUN_MARK_TOGGLE:
|
case LFUN_MARK_TOGGLE:
|
||||||
@ -1576,7 +1576,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_DOC_ANONYMIZE: {
|
case LFUN_BUFFER_ANONYMIZE: {
|
||||||
for(char c = '0'; c <='Z'; c++) {
|
for(char c = '0'; c <='Z'; c++) {
|
||||||
odocstringstream ss;
|
odocstringstream ss;
|
||||||
ss << "a\n" << c << "\n0 0 1 1 0";
|
ss << "a\n" << c << "\n0 0 1 1 0";
|
||||||
|
@ -476,7 +476,7 @@ enum FuncCode
|
|||||||
LFUN_DEVEL_MODE_TOGGLE, // lasgouttes 20170723
|
LFUN_DEVEL_MODE_TOGGLE, // lasgouttes 20170723
|
||||||
//370
|
//370
|
||||||
LFUN_EXPORT_CANCEL, // rgh, 20171227
|
LFUN_EXPORT_CANCEL, // rgh, 20171227
|
||||||
LFUN_DOC_ANONYMIZE, // sanda, 20180201
|
LFUN_BUFFER_ANONYMIZE, // sanda, 20180201
|
||||||
LFUN_LASTACTION // end of the table
|
LFUN_LASTACTION // end of the table
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4210,14 +4210,14 @@ void LyXAction::init()
|
|||||||
{ LFUN_WORD_REPLACE, "word-replace", Noop, Edit },
|
{ LFUN_WORD_REPLACE, "word-replace", Noop, Edit },
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \var lyx::FuncCode lyx::LFUN_DOC_ANONYMIZE
|
* \var lyx::FuncCode lyx::LFUN_BUFFER_ANONYMIZE
|
||||||
* \li Action: For debug purposes only. Convert all [a-zA-Z0-1] characters to
|
* \li Action: For debug purposes only. Convert all [a-zA-Z0-1] characters to
|
||||||
single character. Useful when submitting docs to list or bugzilla.
|
single character. Useful when submitting docs to list or bugzilla.
|
||||||
* \li Syntax: doc-anonymize
|
* \li Syntax: doc-anonymize
|
||||||
* \li Origin: sanda, Feb 1 2018
|
* \li Origin: sanda, Feb 1 2018
|
||||||
* \endvar
|
* \endvar
|
||||||
*/
|
*/
|
||||||
{ LFUN_DOC_ANONYMIZE, "doc-anonymize", Noop, Edit },
|
{ LFUN_BUFFER_ANONYMIZE, "buffer-anonymize", Noop, Edit },
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \var lyx::FuncCode lyx::LFUN_WORD_RIGHT
|
* \var lyx::FuncCode lyx::LFUN_WORD_RIGHT
|
||||||
|
Loading…
Reference in New Issue
Block a user