Re: [Gnoga-list] Text buffer handling.

2015-04-19 Thread Rabbi David Botton
Not a bad idea. I use the same coding style as AdaCore, with the exception that all procedure parameters including in parameters are marked as in. the code should of course compile with all the flags uses in the gnoga build. I'll see if I can find some documentation on that ACS someplace. David

Re: [Gnoga-list] Text buffer handling.

2015-04-19 Thread Pascal
Hello David, What do you think of adding coding style rules documentation? Could be useful for contributions. Regards, Pascal. http://blady.pagesperso-orange.fr Le 19 avr. 2015 à 05:49, Rabbi David Botton da...@botton.com a écrit : They look good (not my coding style, but correct :) I

Re: [Gnoga-list] Text buffer handling.

2015-04-18 Thread Rabbi David Botton
They look good (not my coding style, but correct :) I will start working on binding more of ACE soon and incorporate what you sent as well. David Botton On Fri, Apr 17, 2015 at 5:13 AM Pascal blady-...@users.sf.net wrote: Hello David, finally, I had some success with ACE plugin though it

Re: [Gnoga-list] Text buffer handling.

2014-12-29 Thread Pascal
Hello David, My need is to emulate a text console, here is the interface: procedure Window (X1, Y1, X2, Y2 : Byte); procedure GotoXY (X, Y : Byte); function WhereX return Byte; function WhereY return Byte; procedure ClrScr; procedure ClrEol; procedure InsLine; procedure

Re: [Gnoga-list] Text buffer handling.

2014-12-29 Thread Pascal
(Answer sent again as it seems not being received by the list) Hello David, Well ACE is not really what I was looking for. It's not bad but my goal is to emulate a text console rather than a source code editor. My goal is: My result is: I need something else closer to GTKAda TextView API

Re: [Gnoga-list] Text buffer handling.

2014-12-28 Thread Jeffrey R. Carter
On 12/27/2014 05:51 PM, Rabbi David Botton wrote: (I responded last week, but it looks like somehow my last few messages didn't make it to the list... strange) I have seen this before, so it did get to the list. -- Jeff Carter I don't know why I ever come in here. The flies get the best of

Re: [Gnoga-list] Text buffer handling.

2014-12-27 Thread Rabbi David Botton
(I responded last week, but it looks like somehow my last few messages didn't make it to the list... strange) For the View_Type or Console_View_Type, etc. you can use Object.innerHTML or Object.Text. However if you are looking to have a text editor in a box, Gnoga.Gui.Plugin.Ace_Editor which does