Opened 12 years ago

Last modified 12 years ago

#853 confirmed New Feature

sourcecode view improvement

Reported by: jlindenbaum@… Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version:
Keywords: SF Cc: saul11@…

Description (last modified by Martin Kou)

Hi,

I think personally it would be great if the source code view had wrap="off" to prevent line breaks where the source code actually continues and also the ceaseing of line breaking charactar striping so that you can indent source code and make new lines in the code without that disappearing on "OK".

Example.

<script language="javascript" type="text/javascript">
alert('yay!');
</script>
<?php
echo "Hello again!";
?>

--> Upon click becomes

<script language="javascript" type="text/javascript">
alert('yay!');
</script> <?php
echo "Hello again!";
?>

That line breaker should be left intact?!

Thanks! Keep it up, love 2.2!


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1390185&group_id=75348&atid=543656

Change History (5)

comment:1 Changed 12 years ago by Martin Kou

Cc: saul11@… added
Reporter: changed from Martin Kou to jlindenbaum@…
Type: BugNew Feature

Incorporated could be a system like http://www.cdolivet.net/index.php?page=editArea or http://codepress.org/index.php or only a higlight script http://www.howtocreate.co.uk/jslibs/script-syntax (permission needed of author)


Moved from SF. Original poster: saul11

comment:2 Changed 12 years ago by Martin Kou

Description: modified (diff)

comment:3 in reply to:  description Changed 12 years ago by Anusha Rao

hi.. I was curious to know if this bug has been fixed. If yes I would like to know the solution for saving the indentation of the source code on click of "OK"

Anusha

Replying to jlindenbaum@users.sourceforge.net:

Hi,

I think personally it would be great if the source code view had wrap="off" to prevent line breaks where the source code actually continues and also the ceaseing of line breaking charactar striping so that you can indent source code and make new lines in the code without that disappearing on "OK".

Example.

<script language="javascript" type="text/javascript">
alert('yay!');
</script>
<?php
echo "Hello again!";
?>

--> Upon click becomes

<script language="javascript" type="text/javascript">
alert('yay!');
</script> <?php
echo "Hello again!";
?>

That line breaker should be left intact?!

Thanks! Keep it up, love 2.2!


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1390185&group_id=75348&atid=543656

comment:4 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralUI : Source View

comment:5 Changed 12 years ago by Wojciech Olchawa

Keywords: Confirmed added

#1421 has been marked as DUP

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy