New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit_box improvements for 3.2.25 #146

ccoupe opened this Issue Sep 11, 2015 · 1 comment


None yet
2 participants

ccoupe commented Sep 11, 2015

edit_box has append(string) and scroll_to_end() methods. #144 has lots of issues and may be delayed. These two were (almost) easy to add and they may be useful. The call to scroll_to_end can be made by the Shoes script writer, as they see fit. height: 400, width: 640 do
  stack do
    @tb = edit_box "foo", width: 0.8
    @tb.text = "Not your everyday edit_box\n"
    cnt = 0
    button "append" do
      cnt = cnt + 1
      @tb.append("append line #{cnt}\n")
    button "check" do
      confirm @tb.text

This comment has been minimized.

Show comment
Hide comment

passenger94 Sep 11, 2015


nice :)
you mean "edit_box" in the title and comments :-D


passenger94 commented Sep 11, 2015

nice :)
you mean "edit_box" in the title and comments :-D

@ccoupe ccoupe changed the title from edit_line improvements for 3.2.25 to edit_box improvements for 3.2.25 Sep 12, 2015

ccoupe added a commit that referenced this issue Sep 20, 2015

@ccoupe ccoupe closed this Sep 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment