Hi,
I have been doing quite some php using UltraEdit and Eclipse. Now i
recently done another Smalltalk project i realize how i miss the
searching capabilities of a good IDE: definitions of- and references to
functions by name (called senders and implementors in Smalltalk),
preferably combined with wildcards and 'search for function name where
the cursor is in'. These are all available for Java in Eclipse, but not
for PHP.
Now i already have built all these seaching capabilities in the form of
our Hypercode Browsers, but once i have found what i searched for i
would like to press an 'Edit' button to jump to a descent code editor. I
could easily add a standard TextArea in the browser to get a simple Web
Based IDE, but i would rather have a good color coding editor. I could
adapt one of those fancy rich text editor components we use for our CMS,
but that would require a color coding algorithm, preferably in
JavaScript, and probably more JavaScript knowledge then i like to learn.
So this is my question: anybody ever heard of a dynamic html component
for web based code editing, that supports color coding? Or maybe a
complete web based IDE? Or maybe a way to make UltraEdit or Eclipse open
a specific file from JavaScript (or remotely from php)?
Thanks in advance,
Henk Verhoeven, www.phpPeanuts.org
To try out the Hypercode Browsers on the phpPeanuts class library, see http://www.phppeanuts.org/site/index.../121/Code.html (click in
the menu on 'classes', 'hierarchy'or 'methods') 7 2485
In article <co**********@n ews2.zwoll1.ov. home.nl>, Henk Verhoeven wrote: So this is my question: anybody ever heard of a dynamic html component for web based code editing, that supports color coding? Or maybe a complete web based IDE? Or maybe a way to make UltraEdit or Eclipse open a specific file from JavaScript (or remotely from php)?
Meaby a combination of http://jpspan.sourceforge.net/wiki/doku.php and http://qbnz.com/highlighter/ can help you.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
Tim Van Wassenhove wrote: In article <co**********@n ews2.zwoll1.ov. home.nl>, Henk Verhoeven wrote:
So this is my question: anybody ever heard of a dynamic html component for web based code editing, that supports color coding? Or maybe a complete web based IDE? Or maybe a way to make UltraEdit or Eclipse open a specific file from JavaScript (or remotely from php)? Meaby a combination of http://jpspan.sourceforge.net/wiki/doku.php and http://qbnz.com/highlighter/ can help you.
Hi Tim,
GeSHi code higlighting looks promising for server side code
highlighting. But i do not think i will spend much time on having the
server do syntax highligting 'as you type', even on a LAN that will
probably be too slow. I still think a code editing component that runs
in a browser should do syntax highlighting client side, but to modify a
WYSIWYG html edditing component (we use HtmlArea, http://www.htmlarea.com/ ) into a code editor does not seem a simple
task. Anyway, GeSHi will probably be a good start.
Thanks,
Henk Verhoeven, www.phpPeanuts.org.
Henk Verhoeven <ne**@phppeanut sREMOVE-THIS.org> wrote in message news:<co******* ***@news5.zwoll 1.ov.home.nl>.. . GeSHi code higlighting looks promising for server side code highlighting. But i do not think i will spend much time on having the server do syntax highligting 'as you type', even on a LAN that will probably be too slow. I still think a code editing component that runs in a browser should do syntax highlighting client side, but to modify a WYSIWYG html edditing component (we use HtmlArea, http://www.htmlarea.com/ ) into a code editor does not seem a simple task. Anyway, GeSHi will probably be a good start.
HtmlArea requires IExx. IExx browsers have built in WYSIWYG HTML
editing (caveat, caveat...). According to htmlarea's page, other
browsers will see a 'normal' textarea. Hmm... yawn...
Sure am glad I don't like syntax highlighting. Think it's better
to reeeeeeead that code.
Henk Verhoeven <ne**@phppeanut sREMOVE-THIS.org> wrote in message news:<co******* ***@news5.zwoll 1.ov.home.nl>.. .
<snip> GeSHi code higlighting looks promising for server side code highlighting. But i do not think i will spend much time on having the server do syntax highligting 'as you type', even on a LAN that will probably be too slow. I still think a code editing component that runs in a browser should do syntax highlighting client side, but to modify a WYSIWYG html edditing component (we use HtmlArea, http://www.htmlarea.com/ ) into a code editor does not seem a simple task. Anyway, GeSHi will probably be a good start.
The best web based editor, I know is cuneAform
<http://oneclick.mozdev .org/sidebar/cune/cuneAform.htm> . Other cross
browser editor is FCKeditor <http://www.fckeditor.n et/>
None of the above editors provide syntax highlighting; but many
such works are available like
<http://www.howtocreate .co.uk/tutorials/jsexamples/syntax/> & the one
available with PHP's extended CHM project has PHP source code
highlighter (JS).
If you're going to do it from scratch, you may consider XUL with
JS, as even Microsoft is promoting Firefox
<http://www.msn.co.uk/computing/Downloads/default.asp>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com
Razzbar wrote: HtmlArea requires IExx. IExx browsers have built in WYSIWYG HTML editing (caveat, caveat...). According to htmlarea's page, other browsers will see a 'normal' textarea. Hmm... yawn...
Hi Razzbar,
I was a bit surprised about the above, we recently switched from our
homegrown IE specific component scripting to HtmlArea because its
working in Mozilla too. But now i took a closer look i see what you
mean: "The htmlArea community is currently developing and experimenting
with the Mozilla-compatible htmlArea 3 as a beta release". It seems we
are using a beta ;-) .
As you see, i am not the Dynamic Html expert. The point is, i do not
intend to become one either, i rather reuse someone others work and
integrate it into our server side php components*. I believe the
combination of browser based components like HtmlArea and WebFX Xtree
( http://webfx.eae.net/dhtml/xtree/) with server side components can give
remarkable results and given it's mindshare amongst web developers php
should be a frontrunner in this that makes dot-net look clumsy and
outdated. But this is not something we (MetaClass) can do on our own.
Greetings, thanks for bringing the beta status of HtmlArea 3 to my
attention,
Henk Verhoeven, www.phpPeanuts.org, www.metaclass.nl.
* PhpPeanuts has effictively two component models. One kind of
components is called peanuts and are used for modeling applications
business domains, the other are called Parts, and are used to compose
web pages the same way as GUI's in an IDE are (if only we had an
IDE...). Dot-net does something like this too, but phpPeanuts components
are open source, 100% scripting/markup language, cross browser and can
be subclassed to override functions as you please. The currently
available components are somewhat primitive so we would like to
encourage anyone capable to build and publish addtional components. See http://www.phppeanuts.org/site/index...principle.html for
the principle of web page composition from components and skins.
Hi R,
This looks like some serious homework for me :-)))
I have looked i little into PHP's extended CHM project, but i can not
reverse engineer CHM and i can find very little about how the CHM is
created. My guess would have been that the syntax highlighting is
produced the same way as in the html docs, which is effectively server
side. But if you say the chm does color coding through a javascript i
believe you. I just can not get my hands on that script. So i guess my
best option is to look into some of those editors you mention, and
eventually combine it with some a color coding script.
XUL is interesting in itself, but the experience of the GUI api i was
building a framework against going down the drain is not something i
wish to repeat. HTML + JS has proven to be a basis on which i can slowly
migrate my code to newer versions. That is a lot more comfortable then
rebuilding from scratch.
But if you really want me to develop for XUL, where can my customers
download a XUL plugin for IE6 on windows XP? If anything could beat
Longhorn it will have to fight it on its own ground!
Thanks a lot, greetings,
Henk Verhoeven, www.phpPeanuts.org.
R. Rajesh Jeba Anbiah wrote:
The best web based editor, I know is cuneAform <http://oneclick.mozdev .org/sidebar/cune/cuneAform.htm> . Other cross browser editor is FCKeditor <http://www.fckeditor.n et/>
None of the above editors provide syntax highlighting; but many such works are available like <http://www.howtocreate .co.uk/tutorials/jsexamples/syntax/> & the one available with PHP's extended CHM project has PHP source code highlighter (JS).
If you're going to do it from scratch, you may consider XUL with JS, as even Microsoft is promoting Firefox <http://www.msn.co.uk/computing/Downloads/default.asp>
Henk Verhoeven <ne**@phppeanut sREMOVE-THIS.org> wrote in message news:<co******* ***@news1.zwoll 1.ov.home.nl>.. . Hi R,
This looks like some serious homework for me :-)))
I have looked i little into PHP's extended CHM project, but i can not reverse engineer CHM and i can find very little about how the CHM is created. My guess would have been that the syntax highlighting is produced the same way as in the html docs, which is effectively server side. But if you say the chm does color coding through a javascript i believe you. I just can not get my hands on that script. So i guess my best option is to look into some of those editors you mention, and eventually combine it with some a color coding script.
PHP's extended CHM manual project is now dead; I don't know how
they did colorize in their final version. But, IIRC, in their project
page, they've given a JS colorize code to test and send feedback. I've
downloaded that; if you want that, please email me (email address at
my sig-block).
XUL is interesting in itself, but the experience of the GUI api i was building a framework against going down the drain is not something i wish to repeat. HTML + JS has proven to be a basis on which i can slowly migrate my code to newer versions. That is a lot more comfortable then rebuilding from scratch.
XUL is not that much difficult. XUL IDEs are on development.
But if you really want me to develop for XUL, where can my customers download a XUL plugin for IE6 on windows XP? If anything could beat Longhorn it will have to fight it on its own ground!
I don't think, XUL will die soon as even MS itself is now
promoting FF as the "best browser". I don't aware of any IE plugins,
but it wouldn't be a big problem as FF's source code is available
especially Windows port.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Brian Sabbey |
last post by:
Here is a pre-PEP for what I call "suite-based keyword arguments". The
mechanism described here is intended to act as a complement to thunks.
Please let me know what you think.
Suite-Based Keyword Arguments
-----------------------------
Passing complicated arguments to functions is currently awkward in Python.
For example, the typical way to define a class property winds up polluting
the class's namespace with the property's get/set...
|
by: Terry Coccoli |
last post by:
We have a Siebel implementation and for one query that was taking a long
time to run I asked a DBA to evaluate the explain plan. I noticed that
he chose to evaluate the Rule based optimization. I asked him why and
he said that the Siebel application defaults to Rule based optimization.
Not that I don't trust him, but I had the impression that Cost based was
the way to go.
Is it possible to set up a database schema so that it the...
|
by: Dana Morris |
last post by:
Call for Participation
OMG's First Annual Software-Based Communications (SBC) Workshop:
From Mobile to Agile Communications
http://www.omg.org/news/meetings/SBC2004/call.htm
September 13-16, 2004 Washington, DC USA
Introduction
|
by: johny smith |
last post by:
I cannot seem to figure out how to do instance based callbacks for some
reason. I found one site on functors but I did not find it that helpful
actually I just don't understand it.
I have no problem doing non-instance based callbacks.
I want to be able to pass a function into a constructor and from inside the
class make a call make a call to the instance based function of another
class. Do i have to use templates?
|
by: Turamnvia Suouriviaskimatta |
last post by:
I 'm following various posting in "comp.lang.ada, comp.lang.c++ ,
comp.realtime, comp.software-eng" groups regarding selection of a
programming language of C, C++ or Ada for safety critical real-time
applications. The majority of expert/people recommend Ada for safety
critical real-time applications. I've many years of experience in C/C++ (and
Delphi) but no Ada knowledge.
May I ask if it is too difficult to move from C/C++ to Ada?...
| |
by: Peter |
last post by:
I am having a problem reading an Excel file that is XML based. The directory
I am reading contains Excel files that can be of two types. Either generic Microsoft
based or XML based. I am reading the Microsoft based files with an OleDbDataAdapter.
Then filling the contents of the first worksheet into a dataset.
However when I try to add the XML based file to my dataset using an XmlTextReader
I can never seem to get it to save to a...
|
by: John Dolan |
last post by:
Hi all, I need some help here.
I have an ActiveX object that requires me to pass in an array that is
1-based (as opposed to the normal 0-based index). Unfortunately the author
of the ActiveX defines a 1-based array (to be passed to it) ByRef. So as far
as I can tell I need to pass it a 1-based array. I'm new to .NET but I've
done some homework here and I know that the VB 6.0 "Option Base 1" and like
alternatives are no longer supported....
|
by: klalonde |
last post by:
I was researching opinions on using cursors in stored procedures and found a thread http://www.thescripts.com/forum/thread143091.html discussing (generally) why not to use them.
I took a cursor-based solution and took a stab at writing the equivalent to it as a set-based procedure. I then timed each process using Query Profiler by executing each 20 consecutive times in Query Analyzer (i.e. EXECUTE sp_CalculateRewards and EXECUTE...
|
by: =?Utf-8?B?Sm9obg==?= |
last post by:
Hi all,
We have one product. It is client/server based application. We
have developed client application in VC++ 6.0. Our client is desktop based
application like dialog based application. Client application will connect to
server according to user requests. This is current scenario.
We would like to make this application as a web-based
application. I have core functionality in VC++ application in client
application. I can put this...
|
by: markla |
last post by:
Hi,
I have an Entity data model built in Entity Framework, which sources data
primarily from an MS SQL 2008 database, and sources some static (data
dictionary) values from code-based objects. I know I *could* store the data
dict values in SQL: for various reasons that's not the path I want to take.
I have some lookups, which are based on code-based Objects. They are
encapsulated in Objects because the values can change during...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |