diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-05 07:02:33 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-05 07:02:33 +0300 |
commit | aa50c1e0028c6cb08524dcdfb7188906c817e46f (patch) | |
tree | 1f5d91bef261612680d589e0481dad99ef189619 /src/gmdocument.h | |
parent | de53b815e09a1004b8fb70706199fb840f53514a (diff) |
Option to force break very long lines
Even preformatted lines may need to be wrapped so the content remains visible, since there is no horizontal scrolling. However, this is off by default so ASCII art isn't broken in narrow windows.
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index b6c1c6ab..e3c21097 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -94,9 +94,9 @@ enum iGmDocumentFormat { | |||
94 | 94 | ||
95 | void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); | 95 | void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); |
96 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); | 96 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); |
97 | void setWidth_GmDocument (iGmDocument *, int width); | 97 | void setWidth_GmDocument (iGmDocument *, int width, int forceBreakWidth); |
98 | void setUrl_GmDocument (iGmDocument *, const iString *url); | 98 | void setUrl_GmDocument (iGmDocument *, const iString *url); |
99 | void setSource_GmDocument (iGmDocument *, const iString *source, int width); | 99 | void setSource_GmDocument (iGmDocument *, const iString *source, int width, int forceBreakWidth); |
100 | void setImage_GmDocument (iGmDocument *, iGmLinkId linkId, const iString *mime, const iBlock *data); | 100 | void setImage_GmDocument (iGmDocument *, iGmLinkId linkId, const iString *mime, const iBlock *data); |
101 | 101 | ||
102 | void reset_GmDocument (iGmDocument *); /* free images */ | 102 | void reset_GmDocument (iGmDocument *); /* free images */ |