Edit Field info

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/10/2004 at 15:07, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
On a previous post here, I was complaining about the impossibility of getting or setting the location of the cursor or the selected text. If I wan't to be able to set or get it, I must code my own implementation of a edit field, right? The problem is that I can't even set text colors (to simulate selections), in COFFEE.
Would it be possible to code such a thing, in COFFEE? Is it a utopic task?
Thank you in advance for any response.

Rui Batista

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 11/10/2004 at 03:59, xxxxxxxx wrote:

I guess you are creating something from the GeUserArea class. In that case, you can (I think) choose the color with

GeUserArea::DrawSetPen

. But actually, I think that it is an endless task to code an editbox implementation in COFFEE. What do you want to code?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/10/2004 at 04:26, xxxxxxxx wrote:

I need an edit field for entering code (a custom scripting language). So, I need a mini-text editor. I want to be able to search and replace it there and also know at what line and column my cursor is.

Rui Batista

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/10/2004 at 07:07, xxxxxxxx wrote:

I wouldn't recommend coding a text editor, neither in C.O.F.F.E.E. nor in C++. The easiest way to get what you want would probably be to use C++ to load a platform dependent interface. (Note that "easiest" doesn't imply "easy".)

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/10/2004 at 11:11, xxxxxxxx wrote:

Actually, I would only need to have a way to get and set the selection inside a field. Its a shame that something as simple as that wasn't implemented either in COFFEE or C++ :-(
Is there any way to run an external application from COFFEE?

Rui Batista

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/10/2004 at 15:09, xxxxxxxx wrote:

I see that I can use

[bool] GeExeuteProgram([Filename] program, [Filename] file);

I will give it a try.

Rui Batista