Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, Nymphodora, Quad, TipmyPip, Imhotep), 852 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
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
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Originally Posted By: Aku_Aku
Originally Posted By: TechMuc
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] #415182
01/14/13 19:34
01/14/13 19:34
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hi HeelX,

Thanks a lot for that list.. Can you go to "Extras-->Tools-->Indent"?
This tool is only for the complete file, but I could add an option to format only the selection (via shortcut and default settings).

Would that be an option? Of course those settings would not apply to newly written code (e.g. indentation after If). Those settings are less complex, as indendation at the fly is much more difficult to implement - though there are some basics ones (edit-->settings-->3d gamestudio-->litec settings-->extra-->indent).

Do you think this would be a solution?

Thy,
Regards,
Timo

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
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

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
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

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.

Quote:
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
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Quote:
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 Offline
Senior Expert
3run  Offline
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.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: liteEditor - v 1.2: Update available [Re: 3run] #415257
01/15/13 21:33
01/15/13 21:33
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hi 3Run,

In the latest version (http://www.dev-software.com/led/liteEdit.exe) the mentioned error (liteEdit freeze) is fixed.

Regards,
Timo

Re: liteEditor - v 1.2: Update available [Re: TechMuc] #415262
01/15/13 23:43
01/15/13 23:43
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
TechMuc@ Thank you. Plus, I'll be waiting for automatic brackets in next update as you've said laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
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
B
BySharDe Offline
Newbie
BySharDe  Offline
Newbie
B

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 :-)


Re: liteEditor - v 1.2: Update available [Re: BySharDe] #415270
01/16/13 07:12
01/16/13 07:12
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hi BySharDe,

Thanks a lot for this report. Though I can not reproduce this issue. Can you please press "Cancel" then go to Extras --> Reset Editor?

This will delete all settings you've made. If the error still exists, can you please send me your Operating System (XP? Vista? 7?)

Thanks a lot,
regards,
Timo

Page 4 of 5 1 2 3 4 5

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1