Re: add highlight in pure programmatically
Neil C Smith <[email protected]> Sun, 17 Sep 2017 17:44:16 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAMYaZEvM6i6wUnKsSmw2hWECNgPXhFCMCYgjT79UgGr=dq2e9A@mail.gmail.com> |
--94eb2c1cde48670b530559662d03 Content-Type: text/plain; charset="UTF-8" Hi, On Sun, 17 Sep 2017, 17:53 Peter Cheung <[email protected]> wrote: > Hi > Why the following code has no effect to add highlight? > How are you registering your highlight layer factory and creating the highlight layer? I was getting my head around this last week to make a simple save-flash plugin - source here if it helps - https://github.com/praxis-live/praxis-live/tree/develop/praxis.live.editor.saveflash/src/net/neilcsmith/praxis/live/editor/saveflash Best wishes, Neil > > -- Neil C Smith Artist & Technologist www.neilcsmith.net Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org --94eb2c1cde48670b530559662d03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,<br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Sun, 17 Sep 2017,= 17:53 Peter Cheung <<a href=3D"mailto:[email protected]">mcheung63@= hotmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir=3D"ltr"> <div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color= :rgb(0,0,0)"> Hi</div> <div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color= :rgb(0,0,0)"> =C2=A0 =C2=A0 Why the following code has no effect to add highlight?</div> <div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color= :rgb(0,0,0)"></div></div></blockquote></div><div class=3D"gmail_quote"><blo= ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c= cc solid;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:Calib= ri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"></div></div></bloc= kquote></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div= dir=3D"ltr"><div style=3D"font-family:Calibri,Helvetica,sans-serif;font-si= ze:12pt;color:rgb(0,0,0)"></div></div></blockquote></div><div><br></div><di= v>How are you registering your highlight layer factory and creating the hig= hlight layer? I was getting my head around this last week to make a simple = save-flash plugin - source here if it helps -=C2=A0<a href=3D"https://githu= b.com/praxis-live/praxis-live/tree/develop/praxis.live.editor.saveflash/src= /net/neilcsmith/praxis/live/editor/saveflash">https://github.com/praxis-liv= e/praxis-live/tree/develop/praxis.live.editor.saveflash/src/net/neilcsmith/= praxis/live/editor/saveflash</a></div><div><br></div><div>Best wishes,=C2= =A0</div><div><br></div><div>Neil</div><div class=3D"gmail_quote"><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:Calibri,He= lvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div> </div> </blockquote></div><div dir=3D"ltr">-- <br></div><div class=3D"gmail_signat= ure" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Neil C Smith<div>A= rtist & Technologist</div><div><a href=3D"http://www.neilcsmith.net" ta= rget=3D"_blank">www.neilcsmith.net</a></div><div><br></div><div>Praxis LIVE= - hybrid visual IDE for creative coding - <a href=3D"http://www.praxislive= .org" target=3D"_blank">www.praxislive.org</a></div></div></div> --94eb2c1cde48670b530559662d03--