The Artima Developer Community
Sponsored Link

Python Buzz Forum
Keyboarding Squeak

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ng Pheng Siong

Posts: 410
Nickname: ngps
Registered: Apr, 2004

Ng Pheng Siong is just another guy with a website.
Keyboarding Squeak Posted: Feb 16, 2005 9:45 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ng Pheng Siong.
Original Post: Keyboarding Squeak
Feed Title: (render-blog Ng Pheng Siong)
Feed URL: http://sandbox.rulemaker.net/ngps/rdf10_xml
Feed Description: Just another this here thing blog.
Latest Python Buzz Posts
Latest Python Buzz Posts by Ng Pheng Siong
Latest Posts From (render-blog Ng Pheng Siong)

Advertisement

I haven't played with Squeak as much as I want to. Squeak is a world unto itself - Squeak runs within a single native windowing system's window and all its windows within said native frame window are managed by Squeak's Morphic window system. When programming, I'm used to cycling thru windows using alt-tab, whether these are LispWorks' REPL and editor windows, or vim and a shell when programming in Python. I can't do that with Squeak - I find myself using the mouse for windowing operations frequently and it breaks my programming rhythm.

Until I discover SVI. ;-) Since I've set up SVI as the default editor, the Squeak workspace morph is also SVI-enabled. This means I can switch between workspace and browser method panes entirely via keyboard. Not quite alt-tab or vim's ":ls" and ":sb", but close enough.

Next, SUnit. I want to drive Test Runner via keyboard. In workspace,

(tr := TestRunner new) openAsMorph.<alt-s>di

"<alt-s> di" is the "do it" keychord: This pops up a Test Runner window. Next,

tr selectedSuite: 4.<alt-s>di

This selects the Association test suite. Then,

tr runOneTest.<alt-s>di

This runs the selected test suite; the TestRunner GUI updates itself as the tests run.

I envisage subclassing TestRunner with methods to load and invoke my specific test suites only, allowing me to ignore all other test suites that happen to exist within my Squeak world.

Read: Keyboarding Squeak

Topic: USDA to allow Mexican Avocado imports to the U.S. Previous Topic   Next Topic Topic: Nascent py2app documentation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use