Discussion:
JavaScript autocomplete and syntax highlighting not working
Úr Balázs
2014-04-05 22:42:25 UTC
Permalink
Hi,

These autocompletition worked in version 2.2.4, but don't work in
2.2.5 and 2.2.6

document.getElementById()
document.getElementsByTagName()
document.getElementsByName()

Missing property: innerHTML
htmltag.innerHTML not working, there is no "innerHTML" string in the
language file (there was in version 2.2.4, why missing in 2.2.5 and
2.2.6?)

And missing these two functions, too:
document.querySelector()
document.querySelectorAll()

Regards,
Balázs
Olivier Sessink
2014-04-12 19:22:08 UTC
Permalink
This post might be inappropriate. Click to display it.
Úr Balázs
2014-04-13 22:05:20 UTC
Permalink
Post by Olivier Sessink
Post by Úr Balázs
document.getElementById()
document.getElementsByTagName()
document.getElementsByName()
please test, they should be working now
These works finally! Thanks!

But these don't work (no autocomplete):
console.log()
window.innerWidth
window.innerHeight
document.bgColor

Don't work the event-handler attributes:
document.onclick
doclument.onload
etc.

Here is a list of event-handler attributes:
http://www.w3.org/TR/html-markup/global-attributes.html#common.attrs.event-handler

For a complete list of JavaScript properties and functions:

1.) Make a js file with this content:
console.log(window);
console.log(document);
console.log(navigator);
// etc. with all of JS objects

2.) Open the file with Firefox browser
3.) Press Ctrl+Shift+K (the web console will open)
4.) Click on each objects
5.) On the right side of the console will be displayed the selected
object with all of its properties and functions

Regards,
Balázs
Andrius
2014-04-14 05:54:37 UTC
Permalink
Ur,
I think it would be very useful to have some test file with all javascript elements that we can use as test case for check if highlightning works correctly.
Probably the same applies for css, which is also tricky. Would it be possible to produce such a test files?
Andrius
________________________________
Sent: Monday, April 14, 2014 1:05 AM
Subject: Re: JavaScript autocomplete and syntax highlighting not working
Post by Olivier Sessink
Post by Úr Balázs
document.getElementById()
document.getElementsByTagName()
document.getElementsByName()
please test, they should be working now
These works finally! Thanks!
console.log()
window.innerWidth
window.innerHeight
document.bgColor
document.onclick
doclument.onload
etc.
http://www.w3.org/TR/html-markup/global-attributes.html#common.attrs.event-handler
console.log(window);
console.log(document);
console.log(navigator);
// etc. with all of JS objects
2.) Open the file with Firefox browser
3.) Press Ctrl+Shift+K (the web console will open)
4.) Click on each objects
5.) On the right side of the console will be displayed the selected
object with all of its properties and functions
Regards,
Balázs
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
Bluefish web site: http://bluefish.openoffice.nl/
Úr Balázs
2014-04-14 22:08:49 UTC
Permalink
Post by Andrius
I think it would be very useful to have some test file with all javascript
elements that we can use as test case for check if highlightning works
correctly.
Hi,

I started to make one. Attached.
Is this, what you are talking about? If it is, I will finish it.
Post by Andrius
Probably the same applies for css, which is also tricky. Would it be
possible to produce such a test files?
I will make a test file for CSS, too.

Regards,
Balazs
Andrius
2014-04-15 05:33:34 UTC
Permalink
Ur,
this is exactly what I was asking for!
Andrius
________________________________
Sent: Tuesday, April 15, 2014 1:08 AM
Subject: Re: JavaScript autocomplete and syntax highlighting not working
Post by Andrius
I think it would be very useful to have some test file with all javascript
elements that we can use as test case for check if highlightning works
correctly.
Hi,
I started to make one. Attached.
Is this, what you are talking about? If it is, I will finish it.
Post by Andrius
Probably the same applies for css, which is also tricky. Would it be
possible to produce such a test files?
I will make a test file for CSS, too.
Regards,
Balazs
Úr Balázs
2014-04-25 21:41:05 UTC
Permalink
Post by Andrius
Probably the same applies for css, which is also tricky. Would it be
possible to produce such a test files?
Here is a testfile for CSS. It is not complete yet (~90%), I will finish it.
The file contains the experimental and obsolate CSS properties, too.

Regards,
Balázs
Olivier Sessink
2014-04-26 06:01:53 UTC
Permalink
This post might be inappropriate. Click to display it.
Continue reading on narkive:
Loading...