~ubuntu-branches/ubuntu/trusty/mysql-workbench/trusty

« back to all changes in this revision

Viewing changes to library/forms/mforms/textbox.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-06-05 09:13:55 UTC
  • mfrom: (5.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20130605091355-lz0oqppmlovk587y
Tags: 5.2.47+dfsg-1
* Upload to unstable.
* New patch to get libpython flags using `python-config`
  (Closes: #710627).
* Build-Depends:
  - python-all-dev
  + python-dev (provides `python-config`)
  - libboost-dev
  + libboost1.53-dev | libboost-dev (needed to avoid FTBFS since
    libmysqlcppconn depends on boost1.53 which conflicts with older
    boost that is pulled by libboost-dev).
* rules: added "-v" to `mv` command (more build-time verbosity).
* rules: get-orig-source improvements.
* Dropped unused lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
 
2
 * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public License as
59
59
    void (__stdcall *set_text)(TextBox *self, const std::string &text);
60
60
    std::string (__stdcall *get_text)(TextBox *self);
61
61
    void (__stdcall *append_text)(TextBox *self, const std::string &text, bool scroll_to_end);
 
62
//    void (__stdcall *append_text_with_attributes)(TextBox *self, const std::string &text, const TextAttributes &attr, bool scroll_to_end);
62
63
    void (__stdcall *set_padding)(TextBox *self, int pad); // TODO: not supported on Windows, should be removed.
63
64
    void (__stdcall *set_monospaced)(TextBox *self, bool flag);
64
65
    void (__stdcall *get_selected_range)(TextBox *self, int &start, int &end);
100
101
     
101
102
     If scroll_to_end is true, it will also scroll to make the end of the text box visible. */
102
103
    void append_text(const std::string &text, bool scroll_to_end= false);
103
 
    
 
104
 
104
105
    /** Appends text to the end of the text box, in the given character set encoding.
105
106
     
106
107
     If scroll_to_end is true, it will also scroll to make the end of the text box visible. */