DFL IDE Editor ?

dolive dolive89 at sina.com
Thu Sep 24 14:53:27 PDT 2009


Robert Jacques дµ½:

> On Thu, 24 Sep 2009 14:21:55 -0400, dolive <dolive89 at sina.com> wrote:
> 
> > Robert Jacques дµ½:
> >
> >> On Thu, 24 Sep 2009 06:22:57 -0400, dolive89 <dolive89 at sina.com> wrote:
> >>
> >> > can DFL make ide editor ?
> >> > can do  expansion of the corresponding function?
> >>
> >> Yes.
> >> There's the Entice IDE (http://www.dprogramming.com/entice.php)
> >> Or the simpler DCode IDE(http://www.dprogramming.com/dcode.php)
> >> Or the Scintilla control if you want to roll your own
> >> (http://wiki.dprogramming.com/Dfl/ScintillaControl)
> >
> > thank you very much !!!
> > but version is older,can do be upgraded to dmd2.032 ?  thank you !!!
> >
> > dolive
> 
> DFL hasn't been updated to DMD 2.032 yet. I've updated my local copy.  
> Here's the link:
> https://jshare.johnshopkins.edu/xythoswfs/webui/_xy-3615403_1-t_VRRBqZAG


Compiling D Scintilla for DFL...

D:\D\dfl>D:\D\dmd2\windows\bin\dfl -c -debug -O -inline -I..  scintilla
Error checking versions; use switch -ver for details
D:\D\dmd2\windows\bin\dmd.exe -c -debug -O -inline -I.. scintilla -version=DFL_E
XE -ID:\D\dmd2\windows\import -L/exet:nt/su:console:4.0 D:\D\dmd2\windows\lib\DF
L_DE~1.LIB
scintilla.d(212): Error: function dfl.scintilla.Scintilla.text does not override
 any function
scintilla.d(228): Error: function dfl.scintilla.Scintilla.text of type char[]()
overrides but is not covariant with dfl.control.Control.text of type immutable(c
har)[]()
scintilla.d(228): Error: function dfl.scintilla.Scintilla.text does not override
 any function
scintilla.d(250): Error: function dfl.scintilla.Scintilla.selectedText does not
override any function
scintilla.d(259): Error: function dfl.scintilla.Scintilla.selectedText of type c
har[]() overrides but is not covariant with dfl.textbox.TextBoxBase.selectedText
 of type immutable(char)[]()
scintilla.d(259): Error: function dfl.scintilla.Scintilla.selectedText does not
override any function

Returned status code 1

D:\D\dfl>D:\D\dmd2\windows\bin\dfl -c -debug -O -inline -I.. -odcpp cpp\scintill
a cpp\scilexer
Error checking versions; use switch -ver for details
D:\D\dmd2\windows\bin\dmd.exe -c -debug -O -inline -I.. -odcpp cpp\scintilla cpp
\scilexer -version=DFL_EXE -ID:\D\dmd2\windows\import -L/exet:nt/su:console:4.0
D:\D\dmd2\windows\lib\DFL_DE~1.LIB

Making libs...

D:\D\dfl>D:\D\dm\bin\lib -c -n -p32 dflscintilla.lib scintilla cpp\scintilla cpp
\scilexer
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: scintilla.obj : No such file or directory
Failed.
Done.




makescintillalib.bat:

@rem   Make Scintilla interface for D.
@rem   http://www.dprogramming.com/dfl.php

@echo off
@cls


@rem   Either set the environment variables dmd_path and dmc_path
@rem   or fix the paths below.

if not "%dmd_path%" == "" goto dmd_set
set dmd_path=D:\D\dmd2\windows
:dmd_set
if not "%dmc_path%" == "" goto dmc_set
set dmc_path=D:\D\dm
:dmc_set


if "%SCINTILLA_STATIC_BUILD%" == "" goto done_static
set _SCINTILLA_STATIC_BUILD=-version=SCINTILLA_STATIC_BUILD
:done_static


@echo on


@rem   Compile:

	@echo Compiling D Scintilla for DFL...
	
	@rem   -version=NO_DRAG_DROP -version=NO_MDI
	
	%dmd_path%\bin\dfl -c -debug -O -inline -I.. %_SCINTILLA_STATIC_BUILD% scintilla
	@if errorlevel 1 goto oops
	%dmd_path%\bin\dfl -c -debug -O -inline -I.. -odcpp cpp\scintilla cpp\scilexer
	@if errorlevel 1 goto oops
	
	@echo.


@rem   Make lib file:

	@echo Making libs...
	
	%dmc_path%\bin\lib -c -n -p32 dflscintilla.lib scintilla cpp\scintilla cpp\scilexer
	@if errorlevel 1 goto oops
	
	@echo.


@goto done
:oops
@echo Failed.


:done
@echo Done.



thank you !

dolive



More information about the Digitalmars-d mailing list