View Single Post
  #123  
Old 30th November 2016, 08:59
oirfeodent's Avatar
oirfeodent oirfeodent is offline
Member
 
Join Date: Jun 2016
Posts: 50
oirfeodent is on a distinguished road
Baan: Baan - DB: DB - OS: OS
Quote:
Originally Posted by gruvi_navy View Post
hi all,

im newbie in development, please help me for add language baan in scite.

thank you
Fandhi
Here are the steps to setup a new SciTE.
  1. Download Scite from the link. http://www.scintilla.org/wscite.zip
  2. Extract it to the desired location. (eg: D:\wscite)
  3. open SciTE.exe from the extracted location.
  4. Go to menu, "Options" --> "Open Global Options File".
  5. Go to menu, "Options" --> "Open User Options File".
  6. Copy the property "imports.exclude" from Global Options File(SciTEGlobal.properties) to User Options file (SciTEUser.properties).
  7. Remove the word baan (and any other required language) from the "imports.exclude" property.
  8. Close and restart SciTE window. Now, Baan will be visible in the Language menu.

The above steps are required for enabling Baan.
Additionally, below are few additional properties... which can be set in the User Options file (SciTEUser.properties), based on your personal preference and requirements. Basically, keywords2,3,6,7,8,9 needs to be filled based on the baan version you use. api.* & command.* needs to be filled on where the help files and autocomplete files are located.

Rest all settings, you can refer http://www.scintilla.org/SciTEDoc.html

Code:
#uncomment below, set the full path of API files. If more than one, seperate it with ';'.
#api.$(file.patterns.baan)=

#Uncomment below two properties, set the full path of CHM files.
#command.help.$(file.patterns.baan)=$(CurrentWord)!D:\
#command.help.subsystem.$(file.patterns.baan)=4

#Keywords2 Functions (Set your Functions based on Baan version & TIV level.)
keywords2.$(file.patterns.baan)=abort abort.io  \
db.after.delete db.after.insert db.after.update \
xmlSetData \
zoom.to$

#Keywords3 Functions InListAbridged (Set Functions, based on Baan Version & TIV Level.) ~.is.mandatory will work for <any.field>.is.mandatory() DAL function.
keywords3.$(file.patterns.baan)=~.is.mandatory 

#Keyword6 PreDefined Variables (Set these predefined variables based on your Baan Version).
keywords6.$(file.patterns.baan)=actual.occ \
zoomreturn$

#keywords7 Attributes PreDefined ( Below list needs to be typed in UPPER case in scripts, but keep it in lower here). (Set these predefined Attributes based on your Baan Version).
keywords7.$(file.patterns.baan)=__file__ \
z.session

#keywords8 Enumerate domains. Enter domain domain names starting with '^' and ending with '.'. All the enumerates would be listed. (Based on your Baan Version).
keywords8.$(file.patterns.baan)=^tcyesno. ^tdsls.corg.

#Keywords9 MACROS from standard based on your Baan Version. Write in CAPS inside the scripts, but in lower here.
keywords9.$(file.patterns.baan)=dalnew dalupdate

position.maximize=1
line.margin.visible=1
line.margin.width=2+

tabsize=4
indent.size=4
use.tabs=1

indent.auto=1
indent.automatic=1
indent.opening=0
indent.closing=0

*language.baan=&Baan|bc|F6|

fold=1
fold.preprocessor=1
fold.comment=1
fold.compact=0
fold.flags=16
fold.symbols=2
fold.highlight=1
fold.highlight.colour=#FF0000

fold.baan.inner.level=1

blank.margin.left=1
blank.margin.right=1

tabbar.hide.one=1
highlight.current.word =1
highlight.current.word.indicator=style:roundbox

edge.column=64
edge.mode=1
edge.colour=#FF0000

read.only.indicator=1

autocompleteword.automatic=1
autocomplete.choose.single=0
autocomplete.baan.fillups=(

calltip.baan.parameters.start=(
calltip.baan.parameters.end=)
calltip.baan.parameters.separators=,
calltip.baan.end.definition=~

save.session=1
save.recent=1
save.position=1
save.find=1

find.close.on.find=2

spell.mistake.indicator=style:squigglepixmap,colour:#FF0000

statusbar.visible=1
statusbar.number=5
statusbar.text.1=\
 Line = $(LineNumber)     | Column = $(ColumnNumber)     | RO=$(ReadOnly)     | EOL=$(EOLMode)     | $(OverType)     |  Curr. Time: ($(CurrentDate) $(CurrentTime))\
		No. of Chars=$(BufferLength) | No. of Lines=$(NbOfLines)  | Selected Chars=$(SelLength) | Selected Lines=$(SelHeight) | in $(FileName).$(FileNameExt)   (($(FileDate) $(FileTime)) $(FileAttr))
statusbar.text.2=\
li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(ReadOnly) $(FileAttr)
statusbar.text.3=\
$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars. Sel: $(SelHeight) Lines.
statusbar.text.4=\
Now is: Date=$(CurrentDate) Time=$(CurrentTime)
statusbar.text.5=\
$(FileName).$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr)

#abbreviations.$(file.patterns.baan)=D:\
#ext.lua.startup.script=D:\
title.full.path=1
title.show.buffers=1
Reply With Quote