Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] BufferManager.ask and trailing spaces
@ 2007-10-11 17:29 Christopher Warrington
  2007-10-27  0:48 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Warrington @ 2007-10-11 17:29 UTC (permalink / raw)


I am currently adding code to support refinement of searches. Basically,
I just copy the old query and make it the default text for the new
query. I accomplish this by doing:

BufferManager.ask :refine_search, "query: ", old_query + " "

However, the trailing space is being stripped out. I cannot figure out
where this is happening. How can I stop this from happening?

-- 
Christopher Warrington <chrisw at rice.edu>
Jones College


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sup-talk] BufferManager.ask and trailing spaces
  2007-10-11 17:29 [sup-talk] BufferManager.ask and trailing spaces Christopher Warrington
@ 2007-10-27  0:48 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2007-10-27  0:48 UTC (permalink / raw)


Excerpts from Christopher Warrington's message of Thu Oct 11 10:29:22 -0700 2007:
> I am currently adding code to support refinement of searches. Basically,
> I just copy the old query and make it the default text for the new
> query. I accomplish this by doing:
> 
> BufferManager.ask :refine_search, "query: ", old_query + " "
> 
> However, the trailing space is being stripped out. I cannot figure out
> where this is happening. How can I stop this from happening?

Should be fixed in SVN.

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-27  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-11 17:29 [sup-talk] BufferManager.ask and trailing spaces Christopher Warrington
2007-10-27  0:48 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox