Page 1 of 4

LibeditorPlus

Posted: Tue Mar 22, 2005 9:41 am
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 !

Posted: Wed Mar 23, 2005 11:43 am
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.

Posted: Wed Mar 23, 2005 2:13 pm
by Progi1984
Sorry, I try to translate fastly the documentation and examples.

Posted: Wed Mar 23, 2005 8:20 pm
by Gansta93
Hello,

What have you used to make your help file?

Posted: Wed Mar 23, 2005 9:01 pm
by Progi1984
PureHelpMaker, I believe

Posted: Wed Mar 23, 2005 11:30 pm
by eriansa
very good initiative!
hope you find the time to make it through version 1.0.

sincerely,

eriansa

Posted: Mon May 16, 2005 8:12 am
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 ?

Posted: Tue May 17, 2005 1:50 am
by Shannara
I have to admit that your gadget is a life saver!!! thanks for this wonderful library!

Posted: Tue May 17, 2005 5:08 pm
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 ?

Posted: Wed May 18, 2005 6:11 am
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

Posted: Wed May 18, 2005 9:08 am
by Progi1984
Anden wrote: Editor_InsertGfx(x, y, BackColor)

BackColor = Windooze API Color Codes / Transparency
Editor_ColorBackground(gadget,color) is not that you want ?

Posted: Thu May 19, 2005 7:19 am
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) ...

Posted: Thu May 19, 2005 8:06 am
by Progi1984
Ok Added at my to do list

Posted: Thu May 19, 2005 10:54 pm
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.

Posted: Thu May 19, 2005 10:56 pm
by Progi1984
What file or example have you tested ?
Which version of PureBasic have you ?
Which version of LibEditorPlus have you ?