Text Editor - Edi2 - page 4 - Script Writing - CHDK Forum

Text Editor - Edi2

  • 38 Replies
  • 12718 Views
Re: Text Editor - Edi2 - FINAL RELEASE!
« Reply #30 on: 09 / September / 2012, 11:41:33 »
Advertisements
@outslider :  I think you need to go back to the initial post in this thread and remove the words FINAL RELEASE! from the Subject: line  ;)    I remember thinking at the time that it was going to be one more entry into my "Famous Last Words" file.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: Text Editor - Edi2 - FINAL RELEASE!
« Reply #31 on: 09 / September / 2012, 13:02:06 »
Well - yes, I should, I'll do in few seconds. 'FINAL RELEASE' was added to say something like 'yeah, now it really works!' :D

Meanwhile there were some changes and updates so it was not so final... Also - usually I have newer version than CHDK, since sometimes I modify something.
« Last Edit: 09 / September / 2012, 13:05:02 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

*

Offline December172

  • *
  • 34
  • A student interested in the Canon P&S hack
Re: Text Editor - Edi2
« Reply #32 on: 07 / November / 2022, 21:22:05 »
@outslider
These days I'm on making a new text editor based on your EDI 2.I named it 'Mars Text Editor'.
I added many new features(like open multiple files in the same time).Could I published it on forum?
However it based on your code,so thank you about making the EDI!Also,your name will in the about menu.(I even used EDI to write the Mars' code. :D)
P.S:the VERSION variable in EDI 2 code is wrong;In code comments we can see the EDI's version is 2.7,but VERSION variable is still 2.5. :)
Canon PowerShot ELPH 180 (IXUS 175).
(Seems most of you are older than me.... Anyone teen? )

*

Offline Caefix

  • *****
  • 900
  • Sorry, busy deleting test shots...
All lifetime is a loan from eternity.


*

Offline December172

  • *
  • 34
  • A student interested in the Canon P&S hack
Re: Text Editor - Edi2
« Reply #34 on: 08 / November / 2022, 18:10:44 »
:D https://forum.chdk-treff.de/viewtopic.php?f=7&t=3540&start=15#p31935  :haha
Great job :) I'll merge these new features to my new editor.See my first version,I'll publish it after include the EDI's new feature.
Canon PowerShot ELPH 180 (IXUS 175).
(Seems most of you are older than me.... Anyone teen? )

*

Offline December172

  • *
  • 34
  • A student interested in the Canon P&S hack
Re: Text Editor - Edi2
« Reply #35 on: 08 / November / 2022, 19:10:13 »
@Caefix
Please see my comments inside the script,because it hasn't a readme.
In some situations,I found that your EDI version is slower and uses more memory than my Mars.
(Even in low memory mode),is that normal?
If no questions,I'll post my editor these days.
P.S:your exec() and append to any file feature is very great :xmas I'm still looking your code.
P.P.S:I can't understand any German information...The machine translation is really bad that I can't really understand your post on the CHDK-DE forum,so could you explain what did you discuss in the forum?
« Last Edit: 08 / November / 2022, 21:13:09 by December172 »
Canon PowerShot ELPH 180 (IXUS 175).
(Seems most of you are older than me.... Anyone teen? )

*

Offline Caefix

  • *****
  • 900
  • Sorry, busy deleting test shots...
Re: Text Editor - Edi2
« Reply #36 on: 09 / November / 2022, 10:25:08 »
CHDK Lua script environment  8)
https://chdk.setepontos.com/index.php?topic=12961.0

@ DE I placed some  :o tools.

There´s a collectgarbage() after reading file to mem etc.
The low memory mode does an extra collectgarbage() after each keystroke, bc it eats ~1kb mem.
No need for large mem cams.  :)
All lifetime is a loan from eternity.

*

Offline December172

  • *
  • 34
  • A student interested in the Canon P&S hack
Re: Text Editor - Edi2
« Reply #37 on: 09 / November / 2022, 18:35:11 »
There´s a collectgarbage() after reading file to mem etc.
The low memory mode does an extra collectgarbage() after each keystroke, bc it eats ~1kb mem.
No need for large mem cams.  :)
You can do like me,insert a collectgarbage() in main loop,either for low mem cams or large mem cams.Faster and don't need to spend too many mems. 8)
Canon PowerShot ELPH 180 (IXUS 175).
(Seems most of you are older than me.... Anyone teen? )


*

Offline December172

  • *
  • 34
  • A student interested in the Canon P&S hack
Re: Text Editor - Edi2
« Reply #38 on: 12 / November / 2022, 22:46:22 »
@Caefix
See my editor: Mars
I've merge some of your EDI version's feature to my editor.
Thx for your idea about EDI 2.7.3! :xmas
Canon PowerShot ELPH 180 (IXUS 175).
(Seems most of you are older than me.... Anyone teen? )

 

Related Topics