Author Topic: Sci Test  (Read 10505 times)

0 Members and 1 Guest are viewing this topic.

Frankolinox

  • Full Member
  • ***
  • Posts: 223
Re: Sci Test
« Reply #15 on: February 14, 2013, 03:08:10 AM »
hi aurel, a) do you made any progress on your editor? :-) you've removed your attachement...

best regards, frank
« Last Edit: February 14, 2013, 09:42:52 AM by Frankolinox »

Frankolinox

  • Full Member
  • ***
  • Posts: 223
Re: Sci Test
« Reply #16 on: February 25, 2013, 01:21:12 AM »
finally I have fixed my main problem with saving file of your SciEdit example :-)

Code: [Select]
Function FileDialogSave(Dir As String, filter , Title , long Hwnd, Flags, defext) As String
Dim ofn As OPENFILENAME
Dim filename[255] As zstring
INT retval

ofn.lStructSize = 76
ofn.hwndOwner = hWnd
ofn.hInstance = GetModuleHandle(0)
ofn.lpstrFilter = ?filter
ofn.lpstrCustomFilter= NULL
ofn.nMaxCustFilter = 0
ofn.nFilterIndex = 2
ofn.lpstrFile = @filename 'zstring buffer
ofn.nMaxFile = 255
ofn.lpstrFileTitle = NULL
ofn.nMaxFileTitle = 0
ofn.lpstrInitialDir = ?dir
ofn.lpstrTitle = ?title
'ofn.Flags = OFN_EXPLORER Or OFN_FILEMUSTEXIST Or OFN_HIDEREADONLY
If flags = 0 then ofn.Flags = OFN_EXPLORER Or OFN_FILEMUSTEXIST Or OFN_HIDEREADONLY
If flags = 1 then ofn.Flags = OFN_EXPLORER Or OFN_OVERWRITEPROMPT Or OFN_HIDEREADONLY
ofn.nFileOffset = 0
ofn.nFileExtension = 0
ofn.lpstrDefExt = ?defext
ofn.lCustData = 0
ofn.lpfnHook = 0
ofn.lpTemplateName = NULL

' Execute the dialog box
'retval = GetOpenFileName(ofn)
retval = GetSaveFileName(ofn)
Return filename

End Function

I am using two functions for loading and saving file in oxygen and I can now "execute" the file or if I want only the textfile in sci editor. that was the simplest way for me, as I have had some problems too with the flags. thanks for you good sci editor aurel as a good starting point for more expandings.

I am happy that's working here fine and my editor makes some good progresses too.

best regards, frank

Peter

  • Full Member
  • ***
  • Posts: 161
Re: Sci Test
« Reply #17 on: May 15, 2013, 11:48:51 AM »
Why is your name RUBEN now ?

Peter

  • Full Member
  • ***
  • Posts: 161
Re: Sci Test
« Reply #18 on: June 25, 2013, 04:05:00 AM »
Code: [Select]
PS.Why this forum only allow 20000 characters
It was JRS who has limited this code lines.
He cannot read more than 19999 code lines. Is an old guy, forgive him.   ;D

kryton9

  • Hero Member
  • *****
  • Posts: 721
Re: Sci Test
« Reply #19 on: July 08, 2013, 11:26:34 AM »
Aurel this is what I get. I think the zips are missing files. You will see what is in my folder and what I get when I run in the screenshot.
I had to bring RTL32.inc from another folder to get it to compile.

X

kryton9

  • Hero Member
  • *****
  • Posts: 721
Re: Sci Test
« Reply #20 on: July 09, 2013, 11:02:02 AM »
Very nice Aurel. Thanks for the new zip.

John

  • Hero Member
  • *****
  • Posts: 3391
Re: Sci Test
« Reply #21 on: September 12, 2013, 11:35:14 AM »
Nice!

It has that bed & breakfast kind of feeling rather than staying at the typical Holiday Inn.

 

Frankolinox

  • Full Member
  • ***
  • Posts: 223
Re: Sci Test
« Reply #22 on: September 14, 2013, 01:06:15 AM »
aurel, can you send your last SciEditor? thanks, frank

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3837
    • Oxygen Basic
Re: Sci Test
« Reply #23 on: September 14, 2013, 03:25:45 AM »
Aurel's project is in the ProjectsB/Scintilla folder.

You will need to change the filepath spec for gxo2 compiling.

Aurel

  • Sr. Member
  • ****
  • Posts: 306
Re: Sci Test
« Reply #24 on: March 25, 2017, 01:10:44 PM »
quick rebuild of Ascio2 called Aurel Edit


.

Aurel

  • Sr. Member
  • ****
  • Posts: 306
Re: Sci Test
« Reply #25 on: March 25, 2017, 04:45:26 PM »
it looks that now Find(Next) work properly  :D

.

Aurel

  • Sr. Member
  • ****
  • Posts: 306
Re: Sci Test
« Reply #26 on: March 26, 2017, 10:56:29 AM »
i have playing with listbox colors today and i get this ugly  ;D
orange color ...



.

Aurel

  • Sr. Member
  • ****
  • Posts: 306
Re: Sci Test
« Reply #27 on: March 26, 2017, 03:00:21 PM »
..and more ,some changes and additions
i hope that i will add few themes (colors) in editor
and finish Find/Replace box  ;)


.

Arnold

  • Hero Member
  • *****
  • Posts: 700
Re: Sci Test
« Reply #28 on: March 27, 2017, 12:02:46 AM »
Hi Aurel,

you missed to upload some missing additional images. Using the images of \projectsB\Scintilla is not sufficient. No toolbar is displayed. Maybe you can provide the rest of the bmp files too?

Roland

Aurel

  • Sr. Member
  • ****
  • Posts: 306
Re: Sci Test
« Reply #29 on: March 27, 2017, 12:10:32 AM »
Ahh yes  ...
sorry i will do that right now.
Ok in attachment is zip with all files ,
Find work trough source by clicking button,Replace & ReplaceAll  not work yet but i hope that will.  :D
« Last Edit: March 28, 2017, 10:04:53 AM by Aurel »