Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Code & Utilities

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
44%
Installation Wizard into new VRC
25%
Manual into existing VRC
6%
Manual into new VRC
25%
Total votes: 16

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 10th December 2001, 22:57
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Editor for Baan (SCITE)

No longer a Beta release

Scite based on Scintilla now has support for Baan.

As announced previously this editor has a boatload of features
  • Syntax highlighting
  • Folding
  • Calltips (no more trying to figure out the arguments for a function)
  • F1 key gives Baan Tools help.
  • Auto indentation
  • Auto complete
  • Block (un)commenting
  • Regular expression support
  • Line numbers
  • Windows editing keys
  • Small size executable
  • Works on Windows and Linux

Not for people who like Vi :D.

Download the current stable release executables from http://www.scintilla.org/SciTEDownload.html. Choose full download and not the "single file executable".

The files shipped from Scintilla.org site do not have the full keyword list nor the baan.api file. Unzip Scite into a directory preferably c:\wscite or d:\wscite. Then copy the files baan.properties (overwrite the file from scintilla.org site) and baan.api from Baanboard site - these are part of the zip file below.

Copy and edit the SciteUser.properties file to an appropriate directory
# for Windows NT this file should be in C:\winnt\profiles\xxxxxx\
# directory where xxxxxx is the windows user name

Modifications / additions and new feature requests can be posted in this thread.

Thanks to Mark Holland and Praveen Ambekar for help on this one.

~Vamsi
Attached Files
File Type: zip scite.zip (19.7 KB, 2749 views)

Last edited by ~Vamsi : 1st February 2002 at 18:14.
Reply With Quote
  #2  
Old 9th January 2002, 19:46
Praveen Praveen is offline
Junior Member
 
Join Date: Aug 2001
Location: San Diego
Posts: 3
Praveen is on a distinguished road
Power Point Presentation of Scite for Baan

I have a created a power point presentation highlighting the different features of the new editor SCITE for baan. you can view the html version of the presentation at http://praveen215.tripod.com/index.htm

Happy Colorful coding!!!

Last edited by Praveen : 19th January 2002 at 08:52.
Reply With Quote
  #3  
Old 22nd January 2002, 22:28
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Release 1.43 out

This release has a Baan specific problem that has been fixed. Previous versions would show incorrect call-tips once in a while:

for eg:
seq.open( would show call-tip for seq.open.local()

The patch to fix this has been submitted by Praveen Ambekar.
Quote:
Calltips in SciTE use the calltip.<lexer>.word.characters setting to correctly find calltips for functions that include characters like '$' which is not normally considered a word character.
The baan.properties file in the download from www.scintilla.org matches more closely to one in this thread. The file on this site will continue to be the best version.

To see what all has changed point your browser to http://www.scintilla.org/ScintillaHistory.html
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #4  
Old 25th January 2002, 07:51
Baxajaun Baxajaun is offline
Junior Member
 
Join Date: Jan 2002
Posts: 7
Baxajaun is on a distinguished road
How use SciTE with Xwindows client in Linux ?

Hi,

how i can use SciTE with Baan Xwindows client in Linux ?

Regards
Reply With Quote
  #5  
Old 29th January 2002, 02:27
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
I have no experience with using the BX interface of Baan. But I will take a shot at it.

Install SciTE on the Baan server. Set your development parameters with the following values
<hr>
Editor Read-Only Command: (name of scite executable)
Starting editor-on: Server

Editor Read/Write Command: (name of scite executable)
Starting editor-on: Server
<hr>

Start a telnet session to the Baan server and export its display to the IP address of your Linux box. It may look like:

DISPLAY=xx.xx.xx.xx:0.0; export DISPLAY

Now you should probably be able to edit your scripts in SciTE.

I do not have a way of testing any of this. Someone please point errors in my methodology and/or come up with a better way of doing this.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #6  
Old 30th January 2002, 06:26
ahulikavi's Avatar
ahulikavi ahulikavi is offline
Member
 
Join Date: Jan 2002
Location: Pune, India
Posts: 81
ahulikavi is on a distinguished road
Baan: BaaN IVc4 - DB: Oracle 8.x, mySQL - OS: Sun Solaris 2.6, RH 7.2
BaaN API?

Hi,

I just installed SCite and have started using it, It great !, I was using TextPad with BaaN keywords file for syntax highlighting, but I find Scite better!

I have one question, what does the BaaN API file do?

regards

Akshay
__________________


Akshay
Reply With Quote
  #7  
Old 30th January 2002, 20:08
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Thank you Akshay for the positive feedback.

baan.api is required to achieve this functionality.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #8  
Old 1st February 2002, 05:27
ahulikavi's Avatar
ahulikavi ahulikavi is offline
Member
 
Join Date: Jan 2002
Location: Pune, India
Posts: 81
ahulikavi is on a distinguished road
Baan: BaaN IVc4 - DB: Oracle 8.x, mySQL - OS: Sun Solaris 2.6, RH 7.2
Unhappy Unable to get calltips !

Hi,

We are on IVc3 on Solaris2.6
I have installed SCite on win-95 clients, I'am unable to get calltips, am I Missing anything !!

Akshay
__________________


Akshay
Reply With Quote
  #9  
Old 1st February 2002, 16:19
Haggis's Avatar
Haggis Haggis is offline
Member
 
Join Date: Oct 2001
Location: London UK
Posts: 70
Haggis is on a distinguished road
Baan: Baan 5b - DB: AS 400 - OS: Windows NT
Hi Vamsi

I have installed Scite on my local machine on Win NT and its working great. However the call tips don't work. I have unzipped the baan.properties and the baan.api into the c:\wscite directory.

Is this the correct place for the api file?

Thanks
Haggis
Reply With Quote
  #10  
Old 1st February 2002, 16:33
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,843
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Call Tips

I do not think the install directory makes a difference. When you setup baan to use this editor you tell it which directory has the executable. I searched both my properties files and the only thing I came across was:
autocomplete.baan.ignorecase=1
calltip.baan.ignorecase=1

Is everything else working? I haven't installed the new version yet. Are you editing a .bc or .cln file? Thought I would try a couple of guesses before ~Vamsi shows up and saves the day.:-)

Mark
Reply With Quote
  #11  
Old 1st February 2002, 16:38
Haggis's Avatar
Haggis Haggis is offline
Member
 
Join Date: Oct 2001
Location: London UK
Posts: 70
Haggis is on a distinguished road
Baan: Baan 5b - DB: AS 400 - OS: Windows NT
Sorry I should have battled on a little longer before my post. The problem was the Sciteuser.properties file. I had not modified it to point at the correct directory for Wscite.

I am sorted out now. Sorry for the silly post.

Haggis
Reply With Quote
  #12  
Old 1st February 2002, 18:20
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Talking Knight in shining armour gallops ...

... in to the battle field only to find it fought and won without him :).

Akshay your problem is similar to Haggis'. I do not know into which directory "SciteUser.properties" goes into on a windows-95 machine. Try clicking on "Options...Open User Options File" in SciTE and it should tell you where it is expecting the path to be. Then copy the SciteUser.properties file from this site and edit it to meet your local settings.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #13  
Old 4th February 2002, 11:48
E.Toniolo's Avatar
E.Toniolo E.Toniolo is offline
Junior Member
 
Join Date: Jan 2002
Location: Padova (Italy)
Posts: 11
E.Toniolo is on a distinguished road
Baan: Baan IV - BaanERP 5.0c - DB: MSSQL 7.0 - OS: Linux, Os2, WinNT, Win 2000
Post WScite baan configuration

Hi,
I have updated the baan.api file to include the syntax of the stpapi commands and I have improved the management of the syntax hilite adding all (I hope :-) ) Baan IV events.
Add also the WScite configuration that I am using and that he makes him very like to UltraEdit .

Bye
Emanuele Toniolo
Main Consulting S.r.l. (Italy)
Attached Files
File Type: zip wsciteconf.zip (24.3 KB, 1025 views)
Reply With Quote
  #14  
Old 5th February 2002, 02:20
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 590
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Emanuele,

Thank you for the stpapi commands. They are definitely a bonus to the baan.api file. But I am not in favour of changing the sciteglobal.properties file. The reason for this is the difficulty of porting your changes across the various versions. A better file for doing the changes is sciteuser.properties. Scite follows hierarchically for properities - just like Baan VRC :-) - global - local - user.

Also could you verify that you are using Scite ver 1.43 or above. From looking at your properties file I have a nagging doubt that you may be using a beta of Rel 1.41 or even earlier. The baan syntax-highlighting code officially became available in ver 1.42. And a error that seemed to affect baan.api not to return the correct function in the call-tip was fixed in ver 1.43.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #15  
Old 5th February 2002, 04:52
ahulikavi's Avatar
ahulikavi ahulikavi is offline
Member
 
Join Date: Jan 2002
Location: Pune, India
Posts: 81
ahulikavi is on a distinguished road
Baan: BaaN IVc4 - DB: Oracle 8.x, mySQL - OS: Sun Solaris 2.6, RH 7.2
Thanks !

Thanks Vamsi, Bullseye !!
__________________


Akshay
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calltips in Scite itconsultant Tools Development 2 8th December 2003 07:51
Is there any way to use different editor for text editing as External editor jaymukh Tools Administration & Installation 11 27th March 2003 16:57
Script Editing with Wordpad noname Tools Development 15 3rd September 2002 14:22
Scite Background colour Xikkos Tools Development 1 17th July 2002 01:56


All times are GMT +2. The time now is 16:13.


©2001-2017 - Baanboard.com - Baanforums.com