Hi at all...with this message I would do a request if is possible... When a comment line, you can do so through a combination of keys???? With JCreator is possible through Ctrl-E for comment...and Ctrl-D for decomment.... Sorry for my bad english.. thank u....
Am 21.05.2009 17:13, schrieb giuliano manzitti:
Hi at all...with this message I would do a request if is possible... When a comment line, you can do so through a combination of keys???? With JCreator is possible through Ctrl-E for comment...and Ctrl-D for decomment.... Sorry for my bad english.. thank u....
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
CTRL+E works for me (same key for commenting and uncommenting), but it might not be the default value. Check your hotkey settings under the Help menu.
Best regards.
On Thu, 21 May 2009 17:17:23 +0200, Thomas wrote:
Am 21.05.2009 17:13, schrieb giuliano manzitti:
Hi at all...with this message I would do a request if is possible... When a comment line, you can do so through a combination of keys???? With JCreator is possible through Ctrl-E for comment...and Ctrl-D for decomment.... Sorry for my bad english.. thank u....
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
CTRL+E works for me (same key for commenting and uncommenting), but it might not be the default value. Check your hotkey settings under the Help menu.
You are right, Ctrl-e is the default for toggling commentation, i.e. comment the line/selection if it isn't commented and uncomment it if it is commented. That should work in most cases for most filetypes.
You can also comment and uncomment the current line/selection with separate shortcuts but these don't have default values, so you have to enter keybindings for them in the preferences dialog, Keybindings tab.
Relevant keybinding names in the preferences dialog, all in the Format section: "Toggle line commentation" "Comment line(s)" "Uncomment line(s)"
Regards, Enrico
Sorry....I've wrong....there is an error in the italian translation.
thank u for the help. bye
Il giorno 21 maggio 2009 20.48, Enrico Tröger enrico.troeger@uvena.de ha scritto:
On Thu, 21 May 2009 17:17:23 +0200, Thomas wrote:
Am 21.05.2009 17:13, schrieb giuliano manzitti:
Hi at all...with this message I would do a request if is possible... When a comment line, you can do so through a combination of keys???? With JCreator is possible through Ctrl-E for comment...and Ctrl-D for decomment.... Sorry for my bad english.. thank u....
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
CTRL+E works for me (same key for commenting and uncommenting), but it might not be the default value. Check your hotkey settings under the Help menu.
You are right, Ctrl-e is the default for toggling commentation, i.e. comment the line/selection if it isn't commented and uncomment it if it is commented. That should work in most cases for most filetypes.
You can also comment and uncomment the current line/selection with separate shortcuts but these don't have default values, so you have to enter keybindings for them in the preferences dialog, Keybindings tab.
Relevant keybinding names in the preferences dialog, all in the Format section: "Toggle line commentation" "Comment line(s)" "Uncomment line(s)"
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Thu, 21 May 2009 23:36:38 +0200 giuliano manzitti giuliano.manzitti@gmail.com wrote:
Sorry....I've wrong....there is an error in the italian translation.
Can you please give some more input here? Which string is wrong translated in detail? And how would be a better transalation?
Thanks, Frank
Sorry to u...but i don't understand a thing relatives to comment. In geany there are 2 ways to comment a row/s. 1) Simply select a row/s and press the Ctrl-E key; This is the result:
for (k = 0; k < N; k++) //~ for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> //~ x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); // stop_t = MPI_Wtime(); /* ferma il timer */
2) Simply select a row/s, click with the right button of the mouse and select Format ----> Comment row; This is the result:
for (k = 0; k < N; k++) //for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> // x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); //stop_t = MPI_Wtime(); /* ferma il timer */
Sorry but for me this 2 different ways of set the comments it's not correct. Or not???? Bye...
2009/5/22 Frank Lanitz frank@frank.uvena.de
On Thu, 21 May 2009 23:36:38 +0200 giuliano manzitti giuliano.manzitti@gmail.com wrote:
Sorry....I've wrong....there is an error in the italian translation.
Can you please give some more input here? Which string is wrong translated in detail? And how would be a better transalation?
Thanks, Frank -- Frank Lanitz frank@frank.uvena.de
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
giuliano manzitti schrieb:
Sorry to u...but i don't understand a thing relatives to comment. In geany there are 2 ways to comment a row/s.
- Simply select a row/s and press the Ctrl-E key;
This is the result:
for (k = 0; k < N; k++) //~ for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> //~ x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); // stop_t = MPI_Wtime(); /* ferma il timer */
- Simply select a row/s, click with the right button of the mouse and
select Format ----> Comment row; This is the result:
for (k = 0; k < N; k++) //for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> // x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); //stop_t = MPI_Wtime(); /* ferma il timer */
Sorry but for me this 2 different ways of set the comments it's not correct. Or not???? Bye...
That seems fine to me. The ~ is appended after the // so that you can uncomment that with the same keystroke. Uncommenting doesn't work for comments without that ~.
Both are comments and are ignored by the compiler/interpreter, so what after the // comes doesn't matter.
Best regards.
On Mon, 25 May 2009 15:45:12 +0200, giuliano wrote:
Sorry to u...but i don't understand a thing relatives to comment. In geany there are 2 ways to comment a row/s.
- Simply select a row/s and press the Ctrl-E key;
This is the result:
for (k = 0; k < N; k+ +) //~ for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> //~ x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); // stop_t = MPI_Wtime(); /* ferma il timer */
- Simply select a row/s, click with the right button of the mouse and
select Format ----> Comment row; This is the result:
for (k = 0; k < N; k++) //for (k = 0; k < N; k++) x_sol[nprocs * N + k] = vect_xs[k]; -------> // x_sol[nprocs * N + k] = vect_xs[k]; stop_t = MPI_Wtime(); //stop_t = MPI_Wtime(); /* ferma il timer */
Sorry but for me this 2 different ways of set the comments it's not correct. Or not???? Bye...
2009/5/22 Frank Lanitz frank@frank.uvena.de
On Thu, 21 May 2009 23:36:38 +0200 giuliano manzitti giuliano.manzitti@gmail.com wrote:
Sorry....I've wrong....there is an error in the italian translation.
Can you please give some more input here? Which string is wrong translated in detail? And how would be a better transalation?
As Thomas said, the tilde is just a hint for Geany that this line was commented by the toggle command, the compiler ignores it completely as any other comments.
If you don't like it, for whatever reason, you can disable it by changing the string in the preferences dialog, Editor tab and set it to the empty string.
Regards, Enrico
Ok...I've ask this only because I think the comment is part of those functions that should be standard ... to maintain compatibility with other editors. But this is only my personal opinion....:))!!!
bye giuliano
As Thomas said, the tilde is just a hint for Geany that this line was commented by the toggle command, the compiler ignores it completely as any other comments.
If you don't like it, for whatever reason, you can disable it by changing the string in the preferences dialog, Editor tab and set it to the empty string.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Wed, 27 May 2009 10:07:07 +0200, giuliano wrote:
Ok...I've ask this only because I think the comment is part of those functions that should be standard ... to maintain compatibility with other editors. But this is only my personal opinion....:))!!!
Not sure how this is related to compatibility with other editors, as each editor should treat // and //~ equally as the compiler does it as well. Btw, Scite also uses //~ to mark toggled comment lines (in C).
Regards, Enrico
Enrico Tröger schrieb:
Not sure how this is related to compatibility with other editors, as each editor should treat // and //~ equally as the compiler does it as well. Btw, Scite also uses //~ to mark toggled comment lines (in C).
I think it uses to ~ for any language. At least for ruby too. Maybe he meant that with compatibility? :)
Best regards.