summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-05 07:02:33 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-05 07:02:33 +0300
commitaa50c1e0028c6cb08524dcdfb7188906c817e46f (patch)
tree1f5d91bef261612680d589e0481dad99ef189619 /src/gmdocument.h
parentde53b815e09a1004b8fb70706199fb840f53514a (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.h4
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
95void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); 95void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed);
96void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); 96void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format);
97void setWidth_GmDocument (iGmDocument *, int width); 97void setWidth_GmDocument (iGmDocument *, int width, int forceBreakWidth);
98void setUrl_GmDocument (iGmDocument *, const iString *url); 98void setUrl_GmDocument (iGmDocument *, const iString *url);
99void setSource_GmDocument (iGmDocument *, const iString *source, int width); 99void setSource_GmDocument (iGmDocument *, const iString *source, int width, int forceBreakWidth);
100void setImage_GmDocument (iGmDocument *, iGmLinkId linkId, const iString *mime, const iBlock *data); 100void setImage_GmDocument (iGmDocument *, iGmLinkId linkId, const iString *mime, const iBlock *data);
101 101
102void reset_GmDocument (iGmDocument *); /* free images */ 102void reset_GmDocument (iGmDocument *); /* free images */