You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Peter Cheung <pe...@quantr.hk> on 2022/09/29 09:14:25 UTC

verilog plugin

Hi
   1. I made this funny plugin can single-step the Verilog code https://www.youtube.com/watch?v=cPjEUe2uY8I
   2. I am using DefaultHighlighter to paint something on editor, but how can we get the editor zoom ratio in order to paint in correct position? thanks


Thanks

From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 96554595)

Re: verilog plugin

Posted by Moacir da Roza <mo...@gmail.com>.
Nice plugin, good job.



Em qui., 29 de set. de 2022 às 06:25, Peter Cheung <pe...@quantr.hk>
escreveu:

> i am stupid, this works textComponent.getClientProperty("text-zoom")
> ________________________________
> From: Peter Cheung <pe...@quantr.hk>
> Sent: Thursday, September 29, 2022 5:20 PM
> To: dev@netbeans.apache.org <de...@netbeans.apache.org>
> Subject: Re: verilog plugin
>
> this should work but it doesn't
>
> System.out.println("TEXT_ZOOM_PROPERTY=" +
> textComponent.getClientProperty("TEXT_ZOOM_PROPERTY"));
>
> ________________________________
> From: Peter Cheung <pe...@quantr.hk>
> Sent: Thursday, September 29, 2022 5:14 PM
> To: dev@netbeans.apache.org <de...@netbeans.apache.org>
> Subject: verilog plugin
>
> Hi
>    1. I made this funny plugin can single-step the Verilog code
> https://www.youtube.com/watch?v=cPjEUe2uY8I
>    2. I am using DefaultHighlighter to paint something on editor, but how
> can we get the editor zoom ratio in order to paint in correct position?
> thanks
>
>
> Thanks
>
> From Peter (System Architect, Quantr Limited https://www.quantr.hk ,
> Mobile : 96554595)
>


-- 
Moacir R.F
Desenvolvedor de Softwares

https://www.moacirrf.com.br <http://www.moacirrf.com.br>

Re: verilog plugin

Posted by Peter Cheung <pe...@quantr.hk>.
i am stupid, this works textComponent.getClientProperty("text-zoom")
________________________________
From: Peter Cheung <pe...@quantr.hk>
Sent: Thursday, September 29, 2022 5:20 PM
To: dev@netbeans.apache.org <de...@netbeans.apache.org>
Subject: Re: verilog plugin

this should work but it doesn't

System.out.println("TEXT_ZOOM_PROPERTY=" + textComponent.getClientProperty("TEXT_ZOOM_PROPERTY"));

________________________________
From: Peter Cheung <pe...@quantr.hk>
Sent: Thursday, September 29, 2022 5:14 PM
To: dev@netbeans.apache.org <de...@netbeans.apache.org>
Subject: verilog plugin

Hi
   1. I made this funny plugin can single-step the Verilog code https://www.youtube.com/watch?v=cPjEUe2uY8I
   2. I am using DefaultHighlighter to paint something on editor, but how can we get the editor zoom ratio in order to paint in correct position? thanks


Thanks

From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 96554595)

Re: verilog plugin

Posted by Peter Cheung <pe...@quantr.hk>.
this should work but it doesn't

System.out.println("TEXT_ZOOM_PROPERTY=" + textComponent.getClientProperty("TEXT_ZOOM_PROPERTY"));

________________________________
From: Peter Cheung <pe...@quantr.hk>
Sent: Thursday, September 29, 2022 5:14 PM
To: dev@netbeans.apache.org <de...@netbeans.apache.org>
Subject: verilog plugin

Hi
   1. I made this funny plugin can single-step the Verilog code https://www.youtube.com/watch?v=cPjEUe2uY8I
   2. I am using DefaultHighlighter to paint something on editor, but how can we get the editor zoom ratio in order to paint in correct position? thanks


Thanks

From Peter (System Architect, Quantr Limited https://www.quantr.hk , Mobile : 96554595)