mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
Tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5730 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
27aa66a6c6
commit
335ee6d4db
@ -69,8 +69,7 @@ s/extern \(.*\) create_form_form_\(.*\)[(]void[)]/\1 build_\2(void *)/
|
|||||||
|
|
||||||
# All other lines are deleted:
|
# All other lines are deleted:
|
||||||
/^typedef struct/d
|
/^typedef struct/d
|
||||||
/^ FL_FORM/d
|
/^ /{; /FL_OBJECT/!d; }
|
||||||
/[vcl]data/d
|
|
||||||
|
|
||||||
|
|
||||||
# For all lines starting with FL_OBJECT...
|
# For all lines starting with FL_OBJECT...
|
||||||
@ -86,7 +85,7 @@ H; d
|
|||||||
|
|
||||||
# The struct is ended by "} FD_xxx;", so now's the time to paste back the
|
# The struct is ended by "} FD_xxx;", so now's the time to paste back the
|
||||||
# contents of the hold space.
|
# contents of the hold space.
|
||||||
/} FD_/{
|
/^} FD_.*;/{
|
||||||
|
|
||||||
# 1. Rewrite "} FD_xxx;" as "\nstruct FD_xxx : public FD_base {".
|
# 1. Rewrite "} FD_xxx;" as "\nstruct FD_xxx : public FD_base {".
|
||||||
s/} \(.*\);/\
|
s/} \(.*\);/\
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
/// Extract shortcut from "<ident>|<shortcut>" string
|
/// Extract shortcut from "<ident>|<shortcut>" string
|
||||||
char const * scex(char const *);
|
char const * scex(char const *);
|
||||||
|
|
||||||
/// Extract ident from "<ident>|<shortcut>" string
|
/// Extract identifier from "<ident>|<shortcut>" string
|
||||||
char const * idex(char const *);
|
char const * idex(char const *);
|
||||||
|
|
||||||
#endif // FORMS_GETTEXT_H
|
#endif // FORMS_GETTEXT_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user