• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Insertion Point in Menu Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Insertion Point in Menu Script


  • Subject: Insertion Point in Menu Script
  • From: Carol Clark <email@hidden>
  • Date: Thu, 12 Jun 2008 10:05:39 -0500

I'd like to have a menu script that performs a sed operation starting at the current selection. I can use %%%PBXInsertionPoint%%% to find the selection.

From there I'd like to:
(first choice) find the corresponding line number to pass to sed, or
(second choice) select from the insertion point to the end of the document and use that selection for the script's input and output.


But I don't know how to either get that line number or change the current selection from the script.

Thanks in advance for any ideas.

Carol Clark



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Compiler error when handling C++ std::string class variable
  • Next by Date: Re: Compiler error when handling C++ std::string class variable
  • Previous by thread: Re: how to pass arguments to NSMenu selector ?
  • Next by thread: "Junk at end of arguments." when setting breakpoint in gdb / xcode
  • Index(es):
    • Date
    • Thread