Editor 3.62 - GPI - 5

Working on new editor enhancements?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

http://caosandkin.bei.t-online.de/pureb ... -GPI-5.zip

Crash-Save
The Editor can now detect, that he is crashed and then he will try to save all files under a diffrent filename.
At the next start, the editor will load the crashed files.

Compile-Window
Is now MostTop.

Find
And again, more changes.
The Window should be now behind under Editor-MessageRequesters.
ALT+F takes current word.
CTRL+R also changed: When the find-window is closed, it will opend, otherwise it will simulate a press of the replace-button.
Replace is now undo-able.

List saves position
The list saves now there position and don't jump always to the beginning. Also the Combo-Box save his position.

Folding
The Editor had some errors and had crashed. I fixed it.
(With folding lines can be longer than 900 chars!)
If a mark fold at the end of the code and then you save and reload the code, you can't unfold this fold. Fixed.
New checkwords for Fold: "Structure" - "EndStructure" and ";{" - ";}".
for example:

Code: Select all

  ;{ doubleclick on this line,
  and this lines are folded!
  1
  2
  3
  ;}
Now you can doubleclick everwhere in the line (but in the text!) to (un)fold.
(Un)fold all should now work faster and work on the new marks.

Extended-Error-Message
Should not crash anymore and will show the right line in the main-file.

Extended Format
a line like
newlist test.name()
should be now interpreted right.
Shift+DoubleClick in a list will change the Style, WITHOUT a new-formating of the code.
Shift+F2 will now reformate the code.
So it is possible to make some format-changings and then formate the complete text.

Wrong name in the panel
Ok, it should be finaly done...

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

This thread should be over the old one :)

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

Ok, i little bugfix.

Open the FindAllNames.pb

and replace this lines:

Code: Select all

        ;-neu var
        ClearGadgetItemList(#gadget_format_Var)
        ResetList(var())
        While NextElement(var())
          If var()\update
            AddGadgetItem(#gadget_format_Var,-1,var()\s)
          Else
            var()\s="":DeleteElement(var())
          EndIf
        Wend
        ;-neu proc
        ClearGadgetItemList(#GADGET_FORMAT_Proc)
        ResetList(proc())
        While NextElement(proc())
          If proc()\update
            AddGadgetItem(#GADGET_FORMAT_Proc,-1,proc()\s)
          Else
            proc()\s="":DeleteElement(proc())
          EndIf
        Wend
        ;-neu struc
        ClearGadgetItemList(#GADGET_FORMAT_Struc)
        ResetList(struc())
        While NextElement(struc())
          If struc()\update
            AddGadgetItem(#GADGET_FORMAT_Struc,-1,struc()\s)
          Else
            struc()\s="":DeleteElement(struc())
          EndIf
        Wend
        ;-neu const
        ClearGadgetItemList(#GADGET_FORMAT_Const)
        ResetList(const())
        While NextElement(const())
          If const()\update
            AddGadgetItem(#GADGET_FORMAT_Const,-1,const()\s)
          Else
            const()\s="":DeleteElement(const())
          EndIf
        Wend
      Else
        ;-update var
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
Post Reply