« Return to Thread: Changing default editor font on Os X
It would be nice if we could separate the content from the designs of the help files(i.e. like it is done with cascading style sheets). Since the help files have a visual standard(I'm not sure if it is reflected in code though) maybe this can be automated. It is not a must have feature but would be nice and writing new help files would become easier I think. I will look into the possibilities and report back.BBPatrick Dohman wrote:Hi,That makes sense now... I suppose what I really need is the ability to increase the font size without effecting the formating of the help files. Something akin to pressing Cmd + two or three times.Thanks!PatrickOn Jul 2, 2008, at 5:08 PM, Jan Trutzschler wrote:Hi,help files are *.html files and they are explicitly excluded within your initAction. Remove the check for html files and it will change all files:Document.initAction_{|doc| doc.font_(Font("Andale Mono", 12))};JOn Jul 2, 2008, at 11:27 PM, Patrick Dohman wrote:On Jun 23, 2008, at 3:06 AM, Stephen Lumenta wrote:You could edit your startup.rtf file (~/Application Support/SuperCollider/startup.rtf) .// post win fontDocument.listener.font_(Font("Andale Mono", 10));Document.listener.background_(Color.new255(190,190,190));// use the default font on the help filesDocument.initAction_({|doc|if(doc.path.notNil, {if("html".matchRegexp(doc.path),{},{doc.font_(Font("Andale Mono", 12))})},{doc.font_(Font("Andale Mono", 12))});});StephenFirst I want to say thanks for the tip. Stephen's startup file does a good job of changing the font of the post window and any new windows I create but it does not effect my help files. If I execute the code directly it completes without errors but it does not apply changes to any of the help files which would be great. I tried searching the archives and google with no results and I also tried using the code on two different OS X systems. Any suggestions?PeacePatrick_______________________________________________sc-users mailing listinfo (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880_______________________________________________sc-users mailing listinfo (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880_______________________________________________sc-users mailing listinfo (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
« Return to Thread: Changing default editor font on Os X
| Free embeddable forum powered by Nabble | Forum Help |