diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-16 12:35:49 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-16 12:35:49 +0200 |
commit | ce1ac1ba801d6f09ec028838d5fed863ffce6a9a (patch) | |
tree | 7e7e25f9480130f8f479efe5a0396c41eadb6a0f /src/gmdocument.h | |
parent | ee495092d59f5d5cda9491ebdaa7ef7f107341a3 (diff) |
Translation: More reliable markup preservation
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index 98eef152..05c6da09 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -34,6 +34,21 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
34 | iDeclareType(GmHeading) | 34 | iDeclareType(GmHeading) |
35 | iDeclareType(GmRun) | 35 | iDeclareType(GmRun) |
36 | 36 | ||
37 | enum iGmLineType { | ||
38 | text_GmLineType, | ||
39 | bullet_GmLineType, | ||
40 | preformatted_GmLineType, | ||
41 | quote_GmLineType, | ||
42 | heading1_GmLineType, | ||
43 | heading2_GmLineType, | ||
44 | heading3_GmLineType, | ||
45 | link_GmLineType, | ||
46 | max_GmLineType, | ||
47 | }; | ||
48 | |||
49 | enum iGmLineType lineType_Rangecc (const iRangecc line); | ||
50 | void trimLine_Rangecc (iRangecc *line, enum iGmLineType type, iBool normalize); | ||
51 | |||
37 | enum iGmDocumentTheme { | 52 | enum iGmDocumentTheme { |
38 | colorfulDark_GmDocumentTheme, | 53 | colorfulDark_GmDocumentTheme, |
39 | colorfulLight_GmDocumentTheme, | 54 | colorfulLight_GmDocumentTheme, |