summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-13 15:53:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-13 15:53:07 +0300
commit5dee954413c553513d65039f0e594d01e3b227ea (patch)
tree7a2ea13834f5f9947783f1124a6e0512e03c0d43 /src/gui/widgets/browserbox.h
parent9b578956b8cdcba74b731a78ffdf7e26b335a03d (diff)
downloadplus-5dee954413c553513d65039f0e594d01e3b227ea.tar.gz
plus-5dee954413c553513d65039f0e594d01e3b227ea.tar.bz2
plus-5dee954413c553513d65039f0e594d01e3b227ea.tar.xz
plus-5dee954413c553513d65039f0e594d01e3b227ea.zip
Add support for tabulation to fixed browserbox rows.
Command: /tN; where N is number or characters in line. Example: "test\t10;line" will be converted into "test line"
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index c9219f9ba..51f8bb3ac 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -228,6 +228,9 @@ class BrowserBox final : public gcn::Widget,
void setEnableKeys(bool n)
{ mEnableKeys = n; }
+ void setEnableTabs(bool n)
+ { mEnableTabs = n; }
+
std::string getTextAtPos(const int x, const int y) const A_WARN_UNUSED;
int getPadding() const A_WARN_UNUSED
@@ -265,6 +268,7 @@ class BrowserBox final : public gcn::Widget,
bool mProcessVersion;
bool mEnableImages;
bool mEnableKeys;
+ bool mEnableTabs;
int mPadding;
int mNewLinePadding;