From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Highlighting in Acme From: rog@vitanuova.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010620103808.151BA199C1@mail.cse.psu.edu> Date: Wed, 20 Jun 2001 11:46:57 +0100 Topicbox-Message-UUID: bdf9966c-eac9-11e9-9e20-41e7f4b1d025 bell-labs.com!dharani wrote: > If I have to highlight a portion of text, say character 4 to 8 in line 5, in > a window in Acme, how can I do it through Acme interface? when you say "Acme interface" i don't know whether you mean the Acme user interface or the Acme program (filesystem) interface. you've chosen a task that's possible, but not elegant from the user interface: right button click on the text: :5-#0+#4,5-#0+#8 or alternatively: :5-#0+#4;+#4 you can give an arbitrary sam-style address there. given that the Limbo compiler holds file positions in line.charpos format, i was considering adding a hack to my local acme that would understand: :5.4,5.8 and then the compiler could spit out more detailed positions that acme could understand (having the compiler spit out: file.b:100-#0+#20,101-#0+#30: some error seems a bit uncomfortable). if you want to do this through the filesystem interface, write the address to the addr file, and write "dot=addr" to the ctl file. read the manual. cheers, rog.