LibeditorPlus

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

LibeditorPlus

Post by Progi1984 »

It's a userlib which adds some stuff at a Editorgadget.

For download : LibEditorPlus

v0.1 - 31/01/05
Added : Editor_CursorX(Gadget)
Added : Editor_CursorY(Gadget)
Added : Editor_CursorPos(Gadget)
Added : Editor_Locate(Gadget,x,y)
Added : Editor_Select(Gadget, LineStart.l, CharStart.l, LineEnd.l, CharEnd.l)
Added : Editor_ColorText(gadget,ydeb,xdeb,yfin,xfin,color)
Added : Editor_ColorBackground(gadget,color)
Added : Editor_Paste(gadget)
Added : Editor_Cut(gadget)
Added : Editor_Copy(gadget)
Added : Editor_DeleteSel(gadget)
Added : Editor_Undo(gadget)
Added : Editor_Redo(gadget)
Added : Editor_Activate(gadget)

v0.2 - 02/02/05
Added : Editor_Impression(Gadget.l,docname.s)
Added : Editor_Color(Gadget, Color.l)
Added : Editor_FontSize(Gadget, Fontsize.l)
Added : Editor_Font(Gadget, FontName.s)
Added : Editor_Format(Gadget, Flags.l)
Added : Editor_PasteText(gadget,Text$)
Added : Editor_Up(gadget)
Added : Editor_Down(gadget)
Added : HL_Init_Comments(str$)
Added : HL_Init_Strings(str)
Added : HL_Init_KeyWord(file$)
Added : HL_Activate_Entiers(x)
Added : HL_Activate_Comments(x)
Added : HL_Activate_Keywords(x)
Added : HL_Activate_Strings(x)
Added : Editor_Highlight(Gadget)

v0.21 - 03/02/05
Modified : Editor_Highlight(gadget)

v0.22 - 04/02-05
Added : Editor_Zoom(Gadget,ValeurZoom,ValeurMax)


Excuse me for my english ! i'm french !
whiteside
New User
New User
Posts: 9
Joined: Sun Nov 16, 2003 9:30 pm
Location: Toowoomba, Australia
Contact:

Post by whiteside »

Thank You,

It is a very useful LIB.

All I have to do is learn French so that I can better understand the Help File.

Thanks again, it has come at a most opportune time.
TTFN
Stewart
-------------------------------------
Trying!, why that the first step to failure...
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Sorry, I try to translate fastly the documentation and examples.
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Hello,

What have you used to make your help file?
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

PureHelpMaker, I believe
eriansa
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Mar 17, 2004 12:31 am
Contact:

Post by eriansa »

very good initiative!
hope you find the time to make it through version 1.0.

sincerely,

eriansa
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

v0.23 - 02/04/05
Fixed : Editor_Highlight(gadget)
Added : Editor_OFile(gadget.l,filename.s,error.s)
Added : Editor_SFile(gadget.l,filename.s,error.s)

v0.24 - 10/05/05
Fixé : Editor_Highlight(): bug between comments and strings
Added : Editor_AutomaticLine(Gadget.l,Activate)
1 for activate
0 for desactivate
Added : Editor_Alinea(Gadget.l,Taille.l)

v0.3 - 16/05/05
Added : Concept : LineNumber
Added : LN_AddLine(GadgetId.l,Position,Text.s)
Added : LN_Start(Window.l,Gadgetid.l)
Added : LN_Update(GadgetId.l)
Added : LN_Flags(Type,Index,Style,Tab)

Today, I create you english examples and help !

What do you think of That ?
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

I have to admit that your gadget is a life saver!!! thanks for this wonderful library!
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

I haev to pass an exam this week so i can't translate the doc and example.
So i will do that the next week.

What do you want in future versions ?
Anden
Enthusiast
Enthusiast
Posts: 135
Joined: Mon Jul 21, 2003 7:23 am
Contact:

Post by Anden »

What next? You shouldn't have asked :-)

Editor_InsertGfx(x, y, BackColor)

Editor_InsertRTF(x, y)

x = char pos in line (-1 means last char)
y = line pos (-1 means last line)
BackColor = Windooze API Color Codes / Transparency
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Anden wrote: Editor_InsertGfx(x, y, BackColor)

BackColor = Windooze API Color Codes / Transparency
Editor_ColorBackground(gadget,color) is not that you want ?
Anden
Enthusiast
Enthusiast
Posts: 135
Joined: Mon Jul 21, 2003 7:23 am
Contact:

Post by Anden »

Nope, want to insert a pic/bmp/ico (e.g. an emoticon) at position x, y using BackColor as background color for the pic only (most times a transparancy 'color' will be useful) ...
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Ok Added at my to do list
oridan
Enthusiast
Enthusiast
Posts: 128
Joined: Tue Oct 12, 2004 12:14 am
Location: Italy
Contact:

Post by oridan »

Sorry, impossible use your userilib :cry:
I installed LibEditorPlus in PureBasic\PureLibraries\UserLibraries and generate this error:

PureBasic - Linker error
POLINK: error: Unresolved external symbol 'SYS_FreeStringStructuredArray'
POLINK: error: Unresolved external symbol 'SYS_AllocateArray'
POLINK: fatal error: 2 unresolved external(s).

You can help me?
Thanks in advance.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

What file or example have you tested ?
Which version of PureBasic have you ?
Which version of LibEditorPlus have you ?
Post Reply