#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "gettext.h"
+#include "support/gettext.h"
#include "InsetList.h"
#include "Language.h"
#include "MetricsInfo.h"
+#include "TextClass.h"
#include "support/docstream.h"
#include "support/lstrings.h"
#include <sstream>
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::string;
+using namespace std;
+using namespace lyx::support;
namespace lyx {
-using support::token;
-using support::contains;
-using support::subst;
char const lstinline_delimiters[] =
"!*()-=+|;:'\"`,<.>/?QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm";
void InsetListings::setButtonLabel()
{
// FIXME UNICODE
- if (decoration() == Classic)
+ if (decoration() == Deco_Classic)
setLabel(isOpen() ? _("Listing") : getNewLabel(_("Listing")));
else
setLabel(getNewLabel(_("Listing")));