If I get some time I will investigate.  Some code completion is there
but not everything(?)  I wonder if it is referencing a default bundle
as opposed to the full python settings.  BTW I was using eAmy - the
embedded Amy service.  Is that what you would want to use with web2py
or would you want  to include the Amy editor source is the web2py
distribution?  I guess if you want collaboration you need the whole
shebang.

On Nov 4, 2:21 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> We could never make autocompletion work.
> If you can, send me a patch!
>
> On Nov 4, 1:26 am, billf <[EMAIL PROTECTED]> wrote:
>
> > It seems v.easy to embed the Amy editor in a webpage and save a file -
> > just done it!
>
> > Take the example page, change the form action to a web2py controller
> > action, hit save and you get 2 vars - code and filename to do what you
> > will with.  The bundles (defining the type of highlighting etc) for
> > python and html seem to be present. Currently, the backend (for
> > collaboration and user registration) uses PHP or Ruby on Rails and
> > PostgreSQL8+ (according to the Amy site) - looks like an opportunity
> > to offer port to web2py and database freedom :-)
>
> > All the above is from a v.quick look so apologies if any mis-
> > conceptions.
>
> > On Nov 4, 6:01 am, "mr.freeze" <[EMAIL PROTECTED]> wrote:
>
> > > Very nice. I hadn't seen that one before.  I will definitely try it
> > > out when I get a chance.  My main goal is to learn jQuery and web2py
> > > better by doing a personal project (a web2py-centric editor with code
> > > completion that understands the templating syntax) so I'll press on
> > > with your suggestion of using recursive dir(...).
>
> > > On Nov 3, 11:03 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > > The creator of Amy was (is?) on this list. Long ago he sent me this
> > > > file:
>
> > > >http://groups.google.com/group/web2py/web/eamy_offline.zip
>
> > > > It almost worked. Here i his email:
>
> > > > --- begine quote ---
> > > > Here it goes,
> > > > the interesting stuff for you is in the eamy/eamy.js file starting at
> > > > line 8060. right now, what it does is: find the textarea with -amy-
> > > > enabled attribute, and replace it with the editing component. the
> > > > component will be as big and as positioned as the original textarea,
> > > > so design the <textarea and you should be fine.
>
> > > > for selected colors, go to the bundle_*.js file, and change the values
> > > > of selected theme - starting at line 41, the code should be self-
> > > > explanatory. you may experiment, but basically what you want is
> > > > color:#xxxxxx as a value of each property.
>
> > > > down each bundle file you can find bundle keymap definition and
> > > > language RE rules and snippet definition - code templates with their
> > > > activation code.
>
> > > > give it a try and let me know if something's not clear|working. i did
> > > > it in a bit hurry, so there might be some stupid errors..
> > > > the license is MIT.
>
> > > > p
> > > > p.s. when bundle content changes, i make some repairs or anything like
> > > > that, you must update the bundle_*.js files, but i'm gonna make the
> > > > process easy, i will eventually create some tool to do it, consider
> > > > the attached files initial draft:).
>
> > > > --- end quote ---
>
> > > > Hope this helps.
>
> > > > Massimo
>
> > > > On Nov 3, 9:57 pm, "Steve Shepherd" <[EMAIL PROTECTED]> wrote:
>
> > > > > +100 for the Amy editor... Having collaborative development (I can 
> > > > > then do
> > > > > Rapid Agile development over the shoulder of a developer anywhere 
> > > > > from India
> > > > > to New Zealand and back to the USA)
>
> > > > > Plus adding in Code completion and parameter tips for functions would 
> > > > > be a
> > > > > GOD send for those of us learning the framework. ALSO if we could 
> > > > > publish
> > > > > our own modules with tips and code complettion help in them we could 
> > > > > grow
> > > > > this web2py framework VERY quickly ... me thinks
>
> > > > > Steve- Hide quoted text -
>
> > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to