hi,
i've created a api-file for javascript (attachment) and the following
definition in SciteUser.properties:
api.*.js=\
$(SciteDefaultHome)\api\jscript.api;
calltip.javascript.ignorecase=1
calltip.javascript.end.definition=#
autocomplete.javascript.fillups=(
calltip.javascript.word.characters=$(chars.alpha)$(chars.numeric).
calltip.javascript.parameters.start=(
calltip.javascript.parameters.end=)
calltip.javascript.parameters.separators=,
this api-file contains functions (with brackets) and properties without
brackets.
i think scite should first search for *.end.definition and then for
parameters.start.
how to fix it?
regards Frank
length #Reflects the number of elements in an array/string.
#array:
pop() #Removes the last element from an array and returns that element.
push(element1,...,elementN) #Adds one or more elements to the end of an array
and returns the new length of the array.
reverse() #Reverses the order of the elements of an array -- the first becomes
the last, and the last becomes the first.
shift() #Removes the first element from an array and returns that element.
sort(compareFunction) #Sorts the elements of an array.
splice(index,howMany,[element1][,...,elementN]) #Adds and/or removes elements
from an array.
unshift(element1,...,elementN) #Adds one or more elements to the front of an
array and returns the new length of the array.
concat(value1,value2,...,valueN) #Returns a new array comprised of this array
joined with other array(s) and/or value(s).
indexOf(searchElement[,fromIndex]) #Returns the first (least) index of an
element within the array equal to the specified value, or -1 if none is found.
join(separator) #Joins all elements of an array into a string.
lastIndexOf(searchElement[,fromIndex]) #Returns the last (greatest) index of an
element within the array equal to the specified value, or -1 if none is found.
slice(begin[,end]) #Extracts a section of an array and returns a new array.
#Date
now() #Returns the numeric value corresponding to the current time.
parse(dateString) #Parses a string representation of a date, and returns the
number of milliseconds since January 1, 1970, 00:00:00, local time.
UTC(year,month[,date[,hrs[,min[,sec[,ms]]]]]) #Accepts the same parameters as
the longest form of the constructor, and returns the number of milliseconds in
a Date object since January 1, 1970, 00:00:00, universal time.
getDate() #Returns the day of the month for the specified date according to
local time.
getDay() #Returns the day of the week for the specified date according to local
time.
getFullYear() #Returns the year of the specified date according to local time.
getHours() #Returns the hour in the specified date according to local time.
getMilliseconds() #Returns the milliseconds in the specified date according to
local time.
getMinutes() #Returns the minutes in the specified date according to local time.
getMonth() #Returns the month in the specified date according to local time.
getSeconds() #Returns the seconds in the specified date according to local time.
getTime() #Returns the numeric value corresponding to the time for the
specified date according to universal time.
getTimezoneOffset() #Returns the time-zone offset in minutes for the current
locale.
getUTCDate() #Returns the day (date) of the month in the specified date
according to universal time.
getUTCDay() #Returns the day of the week in the specified date according to
universal time.
getUTCFullYear() #Returns the year in the specified date according to universal
time.
getUTCHours() #Returns the hours in the specified date according to universal
time.
getUTCMilliseconds() #Returns the milliseconds in the specified date according
to universal time.
getUTCMinutes() #Returns the minutes in the specified date according to
universal time.
getUTCMonth() #Returns the month in the specified date according to universal
time.
getUTCSeconds() #Returns the seconds in the specified date according to
universal time.
#getYear Deprecated: Returns the year in the specified date according to local
time. Use getFullYear instead.
setDate(dayValue) #Sets the day of the month for a specified date according to
local time.
setFullYear(yearValue[,monthValue[,dayValue]]) #Sets the full year for a
specified date according to local time.
setHours(hoursValue[,minutesValue[,secondsValue[,msValue]]]) #Sets the hours
for a specified date according to local time.
setMilliseconds(millisecondsValue) #Sets the milliseconds for a specified date
according to local time.
setMinutes(minutesValue[,secondsValue[,msValue]]) #Sets the minutes for a
specified date according to local time.
setMonth(monthValue[,dayValue]) #Sets the month for a specified date according
to local time.
setSeconds(secondsValue[,msValue]) #Sets the seconds for a specified date
according to local time.
setTime(timeValue) #Sets the value of the Date object according to local time.
setUTCDate(dayValue) #Sets the day of the month for a specified date according
to universal time.
setUTCFullYear(yearValue[,monthValue[,dayValue]]) #Sets the full year for a
specified date according to universal time.
setUTCHours(hoursValue[,minutesValue[,secondsValue[,msValue]]]) #Sets the hour
for a specified date according to universal time.
setUTCMilliseconds(millisecondsValue) #Sets the milliseconds for a specified
date according to universal time.
setUTCMinutes(minutesValue[,secondsValue[,msValue]]) #Sets the minutes for a
specified date according to universal time.
setUTCMonth(monthValue[,dayValue]) #Sets the month for a specified date
according to universal time.
setUTCSeconds(secondsValue[,msValue]) #Sets the seconds for a specified date
according to universal time.
#setYear Deprecated : Sets the year for a specified date according to local
time. Use setFullYear instead.
#toGMTString Deprecated: Converts a date to a string, using the Internet GMT
conventions. Use toUTCString instead.
toLocaleString() #Converts a date to a string, using the current locale's
conventions. Overrides the Object.toLocaleString method.
toLocaleDateString() #Returns the "date" portion of the Date as a string, using
the current locale's conventions.
toLocaleTimeString() #Returns the "time" portion of the Date as a string, using
the current locale's conventions.
toUTCString() #Converts a date to a string, using the universal time convention.
#math
Math.E #Euler's constant and the base of natural logarithms, approximately
2.718.
Math.LN2 #Natural logarithm of 2, approximately 0.693.
Math.LN10 #Natural logarithm of 10, approximately 2.302.
Math.LOG2E #Base 2 logarithm of E, approximately 1.442.
Math.LOG10E #Base 10 logarithm of E, approximately 0.434.
Math.PI Ratio of the circumference of a circle to its diameter, approximately
3.14159.
Math.SQRT1_2 #Square root of 1/2; equivalently, 1 over the square root of 2,
approximately 0.707.
Math.SQRT2 #Square root of 2, approximately 1.414.
Math.abs(x) #Returns the absolute value of a number.
Math.acos(x) #Returns the arccosine (in radians) of a number.
Math.asin(x) #Returns the arcsine (in radians) of a number.
Math.atan(x) #Returns the arctangent (in radians) of a number.
Math.atan2(x) #Returns the arctangent of the quotient of its arguments.
Math.ceil(x) #Returns the smallest integer greater than or equal to a number.
Math.cos(x) #Returns the cosine of a number.
Math.exp(x) #Returns E^x, where number is the argument, and E is Euler's
constant, the base of the natural logarithms.
Math.floor(x) #Returns the largest integer less than or equal to a number.
Math.log(x) #Returns the natural logarithm (base E) of a number.
Math.max([value1[,value2[,...]]]) #Returns the largest of zero or more numbers.
Math.min([value1[,value2[,...]]]) #Returns the smallest of zero or more numbers.
Math.pow(base,exponent) #Returns base to the exponent power, that is, base
exponent.
Math.random() #Returns a pseudo-random number between 0 and 1.
Math.round(x) Returns the value of a number rounded to the nearest integer.
Math.sin(x) #Returns the sine of a number.
Math.sqrt(x) #Returns the square root of a number.
Math.tan(x) #Returns the tangent of a number.
#string
charAt(index) #Returns the character at the specified index.
charCodeAt(index) #Returns a number indicating the Unicode value of the
character at the given index.
concat(string2,string3[,...,stringN]) #Combines the text of two strings and
returns a new string.
indexOf(searchValue[, fromIndex]) #Returns the index within the calling String
object of the first occurrence of the specified value, or -1 if not found.
lastIndexOf(searchValue[,fromIndex]) #Returns the index within the calling
String object of the last occurrence of the specified value, or -1 if not found.
match(regexp) #Used to match a regular expression against a string.
replace(regexp/substr,newSubStr/function[,flags]) #Used to find a match between
a regular expression and a string, and to replace the matched substring with a
new substring.
search(regexp) #Executes the search for a match between a regular expression
and a specified string.
slice(beginslice[,endSlice]) #Extracts a section of a string and returns a new
string.
split([separator][,limit]) #Splits a String object into an array of strings by
separating the string into substrings.
substr(start[,length]) #Returns the characters in a string beginning at the
specified location through the specified number of characters.
substring(indexA,[indexB]) #Returns the characters in a string between two
indexes into the string.
toLowerCase() #Returns the calling string value converted to lowercase.
toUpperCase() #Returns the calling string value converted to uppercase.
#window
closed #Returns the Boolean variable indicating whether window has been closed
or not.
defaultStatus #Read/write property that reflects the default window status bar
message that appears.
document #Reference to the current document object.
frames #An array referencing all of the frames in the current window. Use
frames.length to probe the number of frames.
history #Reference to the History object of JavaScript, which contains
information on the URLs the visitor has visited within the window.
length #Returns the number of frames contained in the window.
location #Reference to the Location object of JavaScript, which contains
information on the current URL.
name #The name of the window as optionally specified when calling window.open().
opener #Contains a reference to the window that opened the secondary window via
window.open(). This property should be invoked in the secondary window.
parent #Reference to the parent window of the current window, assuming current
window is a frame. Otherwise, it simply refers to current window.
self #A synonym for the current window.
status #A read/write property that allows you to probe and write to the
browser's status bar.
top #A synonym for the topmost browser window.
window #References the current window. Same as "self."
innerWidth #Specifies the width of the window's content area [NS4/6+] [IE4+:
document.body.clientWidth]
innerHeight #Specifies the height of the window's content area [NS4/6+]
[IE4+:document.body.clientHeight]
outerWidth #Specifies the total width of the window's content area. Includes
any toolbar, scrollbars etc. [NS4/6+]
outerHeight #Specifies the total height of the window's content area. Includes
any toolbar, scrollbars etc. [NS4/6+].
pageXOffset #Returns the count of pixels the current document has been scrolled
from the left. [NS4/6+] [IE4+: document.body.scrollLeft]
pageYOffset #Returns the count of pixels the current document has been scrolled
from the top. [NS4/6+] [IE4+: document.body.scrollTop]
screenX #Specifies the x coordinate of the window relative to the user's
monitor screen. [NS4/6+] [IE5+: screenLeft]
screenY #Specifies the y coordinate of the window relative to the user's
monitor screen. [NS4/6+] [IE5+: screenTop]
alert(msg) #Displays an Alert dialog box with the desired message and OK button.
blur() #Removes focus from the window in question, sending the window to the
background on the user's desktop.
clearInterval(ID) #Clears the timer set using ID=setInterval().
clearTimeout(ID) #Clears the timer set using ID=setTimeout().
close() #Closes a window.
confirm(msg) #Displays a Confirm dialog box with the specified message and OK
and Cancel buttons. Example(s)
find(string,[casesensitive],[backward]) #Searches for the "string" within the
page, and returns string or false, accordingly. "casesensitive" is a Boolean
denoting whether search is case sensitive. "backwards" is a Boolean when set to
true, searches the page backwards. Final two optional parameters must be set
together or none at all. NS4/NS6+ exclusive method.
focus() #Sets focus to the window, bringing it to the forefront on the desktop.
home() #Navigates the window to the homepage as designated by the user's
browser setting. NS4/NS6+ only.
moveBy(dx,dy) #Moves a window by the specified amount in pixels.
moveTo(x,y) #Moves a window to the specified coordinate values, in pixels.
open(URL,[name],
[height|left/screenX|location|menubar|resizable|scrollbars|status|toolbar|top/screenY|width],
[replace]) #Opens a new browser window. "Name" argument specifies a name that
you can use in the target attribute of your <a> tag. "Features" allows you to
show/hide various aspects of the window interface. "Replace" is a Boolean
argument that denotes whether the URL loaded into the new window should add to
the window's history list. A value of true causes URL to not be added.
Example(s)
print() #Prints the contents of the window or frame.
prompt(msg,[input]) #Displays a Prompt dialog box with a message. Optional
"input" argument allows you to specify the default input (response) that gets
entered into the dialog box. Set "input" to "" to create a blank input field.
Example(s)
resizeBy(dx,dy) #Resizes a window by the specified amount in pixels.
resizeTo(x,y) #Resizes a window to the specified pixel values.
scrollBy(dx,dy) #Scrolls a window by the specified amount in pixels.
scrollTo(x,y) #Scrolls a window to the specified pixel values.
setInterval("func",interval,[args]) #Calls the specified "func" (or a
JavaScript statement) repeatedly per the "interval" interval, in milliseconds
(ie: 1000=every 1 second). "func" must be surrounded in quotations, as if it
was a string. Use the optional "args" to pass any number of arguments to the
function.
setTimeout("func",interval) #Calls the specified "func" (or a JavaScript
statement) once after "interval" has elapsed, in milliseconds (ie: 1000=after 1
second). "func" must be surrounded in quotations, as if it was a string.
stop() #Stops the window from loading. NS4/NS6+ exclusive method.
#document
body #References the body element of the page. From there, you can then access
other nodes contained within the body.
body.offsetWidth #Returns the width of the entire document
body.offsetHeight #Returns the height of the entire document
compatMode #Returns the compatibility mode of the current document,
specifically, whether the page is rendered in Quirks or Stricts mode. The two
possible values returned are "BackCompat" for Quirks and "CSS1Compat" for
Strict. Useful for determining the doctype setting of the page and executing
different code accordingly.
doctype #Read-only property that returns the Document Type Definition (DTD) of
the current document, or null if the page doesn't contain a DTD. Not supported
in IE as of IE6.
documentElement #References the root element of the document, in the case of
HTML documents, the html element. This read only property is useful for
accessing all elements on the page, such as the HEAD.
domain() #Gets/sets the domain of the current document. Useful in cross domain
scripting when one domain is to communicate with another.
implementation #Returns the DOM implementation of the current document.
ownerDocument #Returns a reference to the document object that contains the
current element/node.
styleSheets[] #An array referencing all stylesheet objects on the page, whether
they are defined using the <style> or <link> tag.
title #Specifies the title of the document. Read/write in modern browsers.
URL #A string that specifies the complete URL of the document.
createAttribute("attributename") #Creates a new attribute, ready to be inserted
somewhere in the document. It returns a reference to the created attribute.
createComment(commenttext) #Creates an instance of the comment node. Once
created, you can then insert it into the document tree using appendChild(), for
example.
createDocumentFragment() #Creates an empty document fragment. The result is a
temporary container for creating and modifying new elements or attributes
before introducing the final result to your document tree. This is a very
useful method when you're performing multiple operations that add to or modify
the document tree. Instead of directly modifying the document tree each time
(very inefficient), it's much better to use a temporary "whiteboard" that is
created by createDocumentFragment() to perform all your operations on first
before finally inserting the result to the document tree.
createElement(tagName) #Creates an instance of the element object, which can
then added to the document tree using appendChild(), for example.
createTextNode(text) #Creates a new text node, which can then be added to an
element in the document tree.
getElementById(id) #Accesses any element on the page via its ID attribute. A
fundamental method within the DOM for accessing elements on the page.
getElementsByName(name) #Returns an array of elements with a name attribute
whose value matches that of the parameter's. In IE6, elements with an ID
attribute of the matching value will also be included in the array, and
getElementsByName() is limited to retrieving form objects such as checkboxes
and INPUT. In Firefox, nither of these "pitfalls" apply.
getElementsByTagName(tagname) Returns an array of elements whose tag name
matches the parameter. In Firefox/ IE6+, you may enter an asterisk ("*") as the
parameter to retrieve a list of all elements within the document.
style.accelerator
style.background
style.backgroundAttachment
style.backgroundColor
style.backgroundImage
style.backgroundPosition
style.backgroundPositionX
style.backgroundPositionY
style.backgroundRepeat
style.behavior
style.border
style.borderBottom
style.borderBottomColor
style.borderBottomStyle
style.borderBottomWidth
style.borderCollapse
style.borderColor
style.borderLeft
style.borderLeftColor
style.borderLeftStyle
style.borderLeftWidth
style.borderRight
style.borderRightColor
style.borderRightStyle
style.borderRightWidth
style.borderStyle
style.borderTop
style.borderTopColor
style.borderTopStyle
style.borderTopWidth
style.borderWidth
style.bottom
style.clear
style.clip
style.color
style.cssText
style.cursor
style.direction
style.display
style.filter
style.font
style.fontFamily
style.fontSize
style.fontStyle
style.fontVariant
style.fontWeight
style.height
style.imeMode
style.layoutFlow
style.layoutGrid
style.layoutGridChar
style.layoutGridLine
style.layoutGridMode
style.layoutGridType
style.left
style.letterSpacing
style.lineBreak
style.lineHeight
style.listStyle
style.listStyleImage
style.listStylePosition
style.listStyleType
style.margin
style.marginBottom
style.marginLeft
style.marginRight
style.marginTop
style.minHeight
style.overflow
style.overflowX
style.overflowY
style.padding
style.paddingBottom
style.paddingLeft
style.paddingRight
style.paddingTop
style.pageBreakAfter
style.pageBreakBefore
style.posBottom
style.posHeight
style.posLeft
style.posRight
style.posTop
style.posWidth
style.position
style.right
style.rubyAlign
style.rubyOverhang
style.rubyPosition
style.scrollbar3dLightColor
style.scrollbarArrowColor
style.scrollbarBaseColor
style.scrollbarDarkShadowColor
style.scrollbarFaceColor
style.scrollbarHighlightColor
style.scrollbarShadowColor
style.scrollbarTrackColor
style.styleFloat
style.tableLayout
style.textAlign
style.textAlignLast
style.textAutospace
style.textDecoration
style.textDecorationBlink
style.textDecorationLineThrough
style.textDecorationNone
style.textDecorationOverline
style.textDecorationUnderline
style.textIndent
style.textJustify
style.textJustifyTrim
style.textKashida
style.textKashidaSpace
style.textOverflow
style.textTransform
style.textUnderlinePosition
style.top
style.unicodeBidi
style.verticalAlign
style.visibility
style.whiteSpace
style.width
style.wordBreak
style.wordSpacing
style.wordWrap
style.writingMode
style.zIndex
style.zoom
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest