bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

point and click implementation


From: Eluze
Subject: point and click implementation
Date: Tue, 9 Apr 2013 15:30:53 -0700 (PDT)

after installing LilyPond on Windows you'll find the following entries in the
registry:

HKCR\textedit   URL protocol    REG_SZ          09.04.2013 22:58:01     1       
HKCR\textedit\shell             REG_SZ  open    09.04.2013 22:58:01     5       
HKCR\textedit\shell\open\command                REG_EXPAND_SZ   "C:\Program 
Files
(x86)\LilyPond\usr\bin\guile.exe" -e main -s "C:\Program Files
(x86)\LilyPond\usr\bin\lilypond-invoke-editor.scm" "%1" 09.04.2013 22:58:01
137     
HKLM\SOFTWARE\Classes\textedit  URL protocol    REG_SZ          09.04.2013 
22:58:01     1       
HKLM\SOFTWARE\Classes\textedit\shell            REG_SZ  open    09.04.2013 
22:58:01     5       
HKLM\SOFTWARE\Classes\textedit\shell\open\command               REG_EXPAND_SZ   
"C:\Program
Files (x86)\LilyPond\usr\bin\guile.exe" -e main -s "C:\Program Files
(x86)\LilyPond\usr\bin\lilypond-invoke-editor.scm" "%1" 09.04.2013 22:58:01
137     

obviously LilyPond simply wants guile.exe to run with the above parameters
(and this doesn't work)

after running the registration script for windows (see
http://lilypond.1069038.n5.nabble.com/Point-and-Click-does-not-work-on-Windows-tt115986.html#none)
(with Notepad++ uncommented) this changes to 

HKCR\textedit   URL protocol    REG_SZ          09.04.2013 23:03:20     1       
HKCR\textedit           REG_SZ  URL:textedit Protocol   09.04.2013 23:03:20     
22      
HKCR\textedit\shell             REG_SZ  open    09.04.2013 22:58:01     5       
HKCR\textedit\shell\open\command                REG_SZ
"C:\myProgs\ly\textedit\textedit.bat" "%1"      09.04.2013 23:03:20     43      
HKLM\SOFTWARE\Classes\textedit  URL protocol    REG_SZ          09.04.2013 
23:03:20     1       
HKLM\SOFTWARE\Classes\textedit          REG_SZ  URL:textedit Protocol   
09.04.2013
23:03:20        22      
HKLM\SOFTWARE\Classes\textedit\shell            REG_SZ  open    09.04.2013 
22:58:01     5       
HKLM\SOFTWARE\Classes\textedit\shell\open\command               REG_SZ
"C:\myProgs\ly\textedit\textedit.bat" "%1"      09.04.2013 23:03:20     43      

the question is

how do we get the default .ly editor from the registry and if there is one
how do we get its (the editors) specification for line- and column-number
specification - probably this has to go through a table (created and
maintained by LilyPond) with the fields 

[key] application/editor [fields] line column.

hope this brings us nearer to a solution

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/point-and-click-implementation-tp144248.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]