Hi,
I've been trying the rhino-1.7R2RC1 from the shell to play with the JLine
enhancement. I would report some regressions or issues I've noticed so far
--Sorry if it's not the best place to report them and tell us where to drop
(small) issues like these ones :
js> object = { prop1: { prop2: "whatever"}}
- tabbing when the object if followed with dot repeats the first char of the
object name:
js> obj [tab] -> js> object
js> object. [tab] -> js> oobject
- id for properties:
js> object.prop1. [tab] -> js> object.pprop1
- completion doesn't work inside function:
js> print(obj [tab] -> nothing
js> function f(){ var o = ob [tab] -> nothing
js> obj = { var x = ob [tab] -> nothing
- but Java completion is really great:
js> var fh = new File("foo.txt")
js> fh.get
getAbsoluteFile( getUsableSpace( getParent(
getTotalSpace(
getCanonicalFile( getCanonicalPath( getParentFile( getFreeSpace(
getPath( getClass( getName(
getAbsolutePath(
fh.get
- even when nothing is present on the prompt:
js> [tab] lists all possibilities. Really great!
- But... I regret completion doesn't work after dot...
- long lines are not handled correctly when navigating in history
js> s = "I am a very long line which spans over a new line in the
console, and I want to
be recalled" [enter]
js> [up arrow] -> js> var s = "I am a very long line which spans over a
new line in the console, and I want to be recalled" (OK)
[down arrow]
js> var s = "I am a very long line which spans over a new line in the
console, a
(where's the end of the line?)
[up arrow]
js> var s = "I am a very long line which spans over a new line in the
console, a
var s = "I am a very long line which spans over a new line in the console,
and I
want to be recalled"
(oops too much!)
[down arrow]
With a few [up] [down], I end up having a trailing double quote
- history is not handled as previous (and prefered) way as calling the
history after entering always starts a last entry, and not a next entry in
history.
version 1.7R1:
js> function f(){
> var x = "whatever";
> }
[up arrow up to 'function f(){']
js> function f(){
[enter][down arrow]
> var x = "whatever";
version 1.7R2RC1
js> function f(){
> var x = "whatever";
> }
[up arrow up to 'function f(){']
js> function f(){
[enter][down arrow]
(nothing)
- history is broken between sessions
Best regards,
Stebans
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino