Author Topic: Making get_string NOT highlight initial value?  (Read 4343 times)

alex

  • Community Member
  • Posts: 64
  • Hero Points: 6
Making get_string NOT highlight initial value?
« on: October 01, 2006, 04:19:03 pm »
Hi, I'm trying to get get_string to put some text into the prompt without highlighting that text.  Is this possible?  If so, it would be awesome.  (The reason is that I want to put in text that will almost always be the start of an expression, and the user will generally want to keep typing from that point.)

For instance, I'd like the prompt to show up as '<,'> with the cursor immediately after the >.

alex

  • Community Member
  • Posts: 64
  • Hero Points: 6
Re: Making get_string NOT highlight initial value?
« Reply #1 on: October 01, 2006, 09:32:17 pm »
Well, I was able to make a modification to get_string to allow me to do this, but it would be a nice feature of get_string if you could pass a parameter indicating that the cursor should go after the text.