|
Re: liteEditor - v 1.2: Update available
[Re: Aku_Aku]
#415174
01/14/13 18:20
01/14/13 18:20
|
Joined: Jul 2008
Posts: 894
TechMuc
OP
User
|
OP
User
Joined: Jul 2008
Posts: 894
|
sedprj files are not supported. Of course i could write an import script, but I do not really see benefits here. Of course, you don't. Sorry Aku I do not really get you here - maybe i do not know the sedprj files well enough, but aren't they just storing simple filelists? Or can you really take project specific settings?
|
|
|
Re: liteEditor - v 1.2: Update available
[Re: TechMuc]
#415184
01/14/13 19:42
01/14/13 19:42
|
Joined: Jul 2008
Posts: 894
TechMuc
OP
User
|
OP
User
Joined: Jul 2008
Posts: 894
|
Okay I think I'll replace GNU indent with Uncrustify.. ( http://sourceforge.net/projects/uncrustify/ ). Better License and more Options. What options do you need for the real "live editing" (So not select text, and press "format this text", but for real live indentation while typing)?
|
|
|
Re: liteEditor - v 1.2: Update available
[Re: TechMuc]
#415188
01/14/13 20:12
01/14/13 20:12
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Actually, I hate live-formatting and live-indentation. I am actually writing lots of Java code and when I change things I enjoy writing in the rough and pressing the hotkey for autoformatting, it just looks plain beautiful afterwards. Eclipse also has the options "organize imports" to sort and minimize the package imports (#includes in C/C++), "sort members" to sort methods, fields, variables and "clean up" with a strategy to enhance the code, e.g. making boolean expressions complete with adding parenthesis around each statement(-pairs) or vice versa reducing it as much as possible, or removing unnecessary casts. So what I do is often writing lots of code and beautifying it afterwards or when I'm finished. I can not expect that you add such features to your editor, but the indentation-formatting is something that I really miss when I switch back from Java/Eclipse coding back to Gamestudio/Lite-C coding. I would use Eclipse CDT for Lite-C, but I have no clue how to chain Gamestudio as automated tool in it, so I have high hopes that your editor can provide some nice formatting in the future. Can you go to "Extras-->Tools-->Indent"? This tool is only for the complete file Ah, I see. It would be better if you would put some example source code instead of the current file, because you could show better what happens, maybe with going to the line of the code segment, that shows the change best. If you want to keep the "show current file as preview"-approach, please don't reset the scrollbar each time a control is clicked. That is also why I can't tell you if I like it or not. Ah, and please add a "reset"-button, because I think I messed up the dialogue or something because the indentation is wrong or so:
|
|
|
Re: liteEditor - v 1.2: Update available
[Re: HeelX]
#415192
01/14/13 20:20
01/14/13 20:20
|
Joined: Jul 2008
Posts: 894
TechMuc
OP
User
|
OP
User
Joined: Jul 2008
Posts: 894
|
Ah, I see. It would be better if you would put some example source code instead of the current file, because you could show better what happens, maybe with going to the line of the code segment, that shows the change best. If you want to keep the "show current file as preview"-approach, please don't reset the scrollbar each time a control is clicked. That is also why I can't tell you if I like it or not. Ah, and please add a "reset"-button, because I think I messed up the dialogue or something because the indentation is wrong or so: Yes you're totally right. I think the best would be a single example for every line. I'll implement that probably next week, as i'll go skiing this weekend, but generally I think such an external indent tool is the way to go. Regards, Timo
|
|
|
Re: liteEditor - v 1.2: Update available
[Re: TechMuc]
#415203
01/14/13 22:31
01/14/13 22:31
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
I don't know, if this a bug or not, but if I open a main script via liteEditor, then from the source files (on the left) I open for example "player.c" script, and try to edit any actions name in it, liteEditor freezes. Then it crashes after a bit of time, saying that it's not corresponding. Plus, if I open via "open file" any script, that is already in source files (included in the main script), then it opens it twice, but I'm not sure, maybe this is how it supposed to work.
|
|
|
Re: liteEditor - v 1.2: Update available
[Re: 3run]
#415269
01/16/13 04:11
01/16/13 04:11
|
Joined: Jan 2012
Posts: 39
BySharDe
Newbie
|
Newbie
Joined: Jan 2012
Posts: 39
|
I love those greate contributors, and trying to become like them. Now, there is a warning error here. At every beginning run of the program, there will occur a dialog like this, and if I choose cancel, everythins seems go correctly. If I choose [yes], the win7 will say a error happened on kernalbase.dll. I checked this problem on internet and someone say that run as adminstrator will solve it, but it failed here. I post it as a tactless tester :-)
|
|
|
|