From 5dee954413c553513d65039f0e594d01e3b227ea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Jul 2013 15:53:07 +0300 Subject: 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" --- src/gui/widgets/browserbox.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/browserbox.h') 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; -- cgit v1.2.3-60-g2f50