Formatting Code in a Post

Hiya folks.
Just a quick request to have some way of noting code on a page. Arial Narrow default font for long lines, and background CSS colouring would be neat in a [code] tag. I tried but she didn't show up.
Cheers n' Beers

ali brown wrote:
Seems you can get non-italicized text as well. How was that done?
BioRich,
In the Reply window click on the " (quotation mark).
That will transfer the post you are responding to into the text field.
You can delete any portion you do not want quoted iin your reply, and leave the desired sections.
But it is italicized.
Ok, but when applying an original question here in the forums there should be an obvious way of providing a highlighted way of showing code. Using a jimmied-up quotation device just isn't clear.
test test
See, multiple lines of code will have to be edited with them on every line, then shortened to fix the width. So not much of an option there either.

Similar Messages

  • How to format code properly in Visual Studio 2013 express

    <li><img id="img5" class="sm-im" src="img/elephant.jpg" title="click to enlarge" /></li>
    <li><img id="img6" class="sm-im" src="img/crow.jpg" title="click to enlarge" /></li>
    <li><img id="img7" class="sm-im" src="img/catdog.jpg" title="click to enlarge" /></li>
    <li><img id="img8" class="sm-im" src="img/kangroo.jpg" title="click to enlarge" /></li>
    <li><img id="img9" class="sm-im" src="img/eagle.jpg" title="click to enlarge" /></li>
    http://i.imgur.com/wqVb0LI.png?1?2818
    How to format code properly in visual studio, like we can see that the initial <li> moreover img idand class are
    properly aligned and can be easily changed using click+alt, but the second highlighted portion (in brown ) is not aligned i.e. the closing </li> tags
    should be in one straight line. Moreover 'title' should be in one straight line. How to make that possible.

    Hi Nobele,
    Thank you for posting in MSDN forum.
    Since this forum is discuss the VS IDE issue, based on your issue, I’m afraid that it is not the correct forum for this issue.
    To help you find the correct forum to support this issue, could you please tell me which kind of app you create in VS IDE? Is it a web application in the VS?
    (1)If yes, I suggest you can ask this issue directly to the ASP.NET forum:http://forums.asp.net/ , maybe you will get better support.
    (2)If no, please tell me more detail message about the issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hard format code for nokia 5220

    is there anyone who tell me about hard format code for my mobile.ie. nokia 5220 xpress music ,a problem has encounterd in it gets auto off so plzz tell me how can i sort that problem.

    The 5220 XpressMusic is a series 40 phone, so you cannot hard reset it yourself.
    The only thing you can do is try to reset the settings to factory defaults by entering *#7780#. If prompted for your lock code, that will be Nokia's default 12345 unless you've changed it.
    In order to have the phone hard reset, you'll need to take it to a Nokia Care Point.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Display formatted code in html output

    Howdy,
    I'm looking for preferably a JSTL tag (library) that is capable of transforming a code fragment into neatly formatted code, with syntax highlighting, tab preservation, line numbers, stuff like that. I'm sure they should be out there somewhere, it's just that I can't find them anywhere using Google, or I'm just using the wrong terms :/.
    So, if anyone happens to know about a code formatting tool for JSP / JSTL pages, I'd be much obliged.

    Here are some new keywords to Google on: 'java highlighter', 'java source highlighter', 'java2html', 'java2xml', etcetera.

  • 2.1 RC1 breaks svn headlines during formatting code

    Hi,
    after i'm using CTRL+F7 for formatting code, alls svn headlines are broken.
    For example,
    -- $HeadURL: http://icisvnt.server.XXX.local/repos/i3s/trunk/i3skm/Model/src/main/sql/i3skm/10a_i3skm_mig_paket_revisionen_sync.pks$
    will be formatted to
    -- $HeadURL: http://icisvnt.server.XXX.local/repos/i3s/trunk/i3skm/
    -- Model/src/main/sql/i3skm/10a_i3skm_mig_paket_revisionen_sync.pks$
    The expected behavior (like in in jdev 11.1.1.2) would be to leave all svn headlines untouched.
    Thanks in advance

    Hi Skunde,
    The formatter does not understand svn in a comment - it just assumes the comment can be cut to the set number of characters as requested.
    (It does not do this by default, as max line width is 999 by default)
    Two workarounds:
    1/tools->preferences->databases->sqlformatter->oracle formatting->edit->line breaks->Max Line Width
    set this to 999 (side effect - your code may go past the right of the screen i.e. over 80 characters)
    2/Note that you can now format a selection not just the whole code so you could leave out the svn banner when formatting the rest.
    Also as you have done you could remove the line feed manually.
    --Turloch
    Edited by: Turloch O'Tierney on Dec 7, 2009 3:56 AM

  • Formatting code and output with Courier font

    Hi,
    I have several problem in inserting code and output for SQL and PL/SQL.
    I.e.:
    If I insert the code below formatting usin Syntax highlight as SQL:
    SELECT empno, sal
      FROM emp
    WHERE sal > ALL (2000, 3000, 4000);
    Is there a way to have Courier as font to retain the correct indentation?
    Another problem. Suppose that I run the query below:
    SELECT *
      FROM emp
    WHERE deptno = 10;
    and I want to paste the output as Courier:
    If I copy and paste the output from SQL Plus:
    EMPNO ENAME 
    JOB         
    MGR HIREDATE    
    SAL  
    COMM
    DEPTNO
    7782 CLARK 
    MANAGER    
    7839 09-JUN-81  
    2450               
    10
    7839 KING  
    PRESIDENT       
    17-NOV-81  
    5000               
    10
    7934 MILLER
    CLERK      
    7782 23-JAN-82  
    1300               
    10
    It is pasted as a table. Even changing the font is not helping to have a good formatted code (note the header not aligned with data columns).
    I can use HTML code to paste it. I.e.:
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    But it is taking quite a lot to paste the code.
    Any suggestion?
    Regards.
    Al
    Message was edited by: AlbertoFaenza

    BluShadow wrote:
    Well, I hope they get around to using fixed space fonts on the Syntax Highlighting options, as I quite like the fact it creates line numbers for the code, as that will be useful when discussing issues.
    I agree Blu. The line number is useful. If they only can use a fixed space font would be perfect.
    I also have the problem that randomly my output is pasted as a HTML table and still could not understand why it happens.
    This one i.e.:
    EMPNO ENAME
    JOB        
    MGR HIREDATE   
    SAL 
    COMM
    DEPTNO
    7369 SMITH
    CLERK     
    7902 17-DEC-80  
    800              
    20
    7566 JONES
    MANAGER   
    7839 02-APR-81 
    2975              
    20
    7788 SCOTT
    ANALYST   
    7566 19-APR-87 
    3000              
    20
    7876 ADAMS
    CLERK     
    7788 23-MAY-87 
    1100              
    20
    7902 FORD 
    ANALYST   
    7566 03-DEC-81 
    3000              
    20
    I notice that just adding a blank line as first line solve the issue.Regards.
    Al

  • T-code F-28 (Post Incoming Payments) - only 16 lines to enter invoice doc

    Hope someone can help me on the following issue:
    Issue is pertaining to t-code F-28 (Post Incoming Payments). There are only 16 lines for user to enter invoice documents when we select Document Number for the Additional Selection. For some cases, we do need to enter more than 16 lines.
    Question:
    1.     Anyway to increase number of lines for user to enter invoice documents
    2.     Any workaround if the number of lines cannot be increased.
    Thank you very much.
    Wilson

    Hi,
    That is standard SAP screen defination.
    You can use "Page Down" button to enter additional 16 document numbers and so on. Or can give the document numbers in ranges.
    If you have a huge list of invoice numbers to be given which can not be met by above, then you need to develop a custom program to call BDC or BAPI_ACC_DOCUMENT_POST
    Regards,
    Gaurav

  • T-code kbk6 (actual posting price)  error " Layout 1-N01 does not exist. "

    i tried to see t-code kbk6   (actual posting - actual price)
    it's have error Layout 1-N01 does not exist. full error message i show you below.
    how should i do.  i tried to create 1-N01 in KP65 (create planning layouts for cost element planning)
    i got error message You chose a name in a reserved name range -> Choose another name
    what should i do ? 
    please help.
    Layout 1-N01 does not exist.
    Message no. K9151
    Diagnosis
    Planning layout 1-N01 entered by you or set by the planner profile does not exist in the current client.
    This can have the following causes:
    The planning layout has not yet been created in Customizing.
    The planning layout is a layout delivered by SAP that has not yet been imported into the client to which you have logged on.
    SAP planning layouts begin with a number, user-defined planning layouts do not.
    Procedure
    If you require the user-defined planning layout 1-N01, you must first create it in Customzing.
    If planning layout 1-N01 is a layout delivered by SAP, you must first import this from client 000 in Customizing.
    a) For layouts from General Controlling, choose Controlling -> General Controlling -> Production Start-Up Preparation -> Transport System Settings -> Transport Settings for Planning -> Import Standard Planning Layouts.
    b) For layouts from Profit Center Accounting, choose Enterprise Controlling -> Profit Center Accounting -> Tools -> Transport Customizing Settings -> Transport Settings for Planning -> Import Planning Layouts.

    Hi
    The solution is outlined in the long text of the error, you need to import 1-N01 from client 000.
    To import the Standard Planning Layout 1-N01 from Client 000 use transaction code OKBF. The menu path is SPRO - Controlling - General Controlling - Production Start Up Preparation - Transport Settings for Planning - Import Standard Planning Layouts.
    Find the layout and execute the import. This should resolve the error.
    Elaine

  • How to enter Business place and section code of already posted documents

    Hello All,
    We have some posted documents from month of July, in which user has not entered business place and section code
    Please tell me how to enter business place and section code in these posted documents..
    I have already searched on other links, but were not useful..
    Thanks...

    Hi
    Can you share the screen shot and message no for the error? Also check if you have specified the actual MIRO Document No and not the FI Document No of MIRO Document.
    regards
    Sanil Bhandari

  • ORA-01810: format code appears twice ORA-02063: preceding line from PULSARL

    Hi ,
    I am running this query
    select distinct to_char(a.USAGEDATE, 'dd/mm/yyyy hh:mm'),round((a.avgifoutoctets * a.numberofrows / (a.avgdeltatime * a.numberofrows) * 8 / 1000 ), 2)as avginoctetrate from vware.vhourlyrtgusageextract a ,vware.rtginterface b where a.id = b.ID and a.id = 125555 and a.USAGEDATE >= TO_CHAR(TO_DATE('2011-05-22 11:40:47', 'yyyy-MM-dd HH:mm:ss')) and a.USAGEDATE < TO_CHAR(TO_DATE('2011-05-29 11:40:47', 'yyyy-MM-dd HH:mm:ss')) and a.IFDESCRIPTION = 'Serial1/0' order by 1
    I am getting this exception
    ORA-01810: format code appears twice ORA-02063: preceding line from PULSARL
    Could anybody please tell me what is the issue ??

    Hi,
    The issue is:
    SQL> select TO_DATE ( '2011-05-29 11:40:47', 'yyyy-MM-dd HH:mm:ss') from dual;
    select TO_DATE ( '2011-05-29 11:40:47', 'yyyy-MM-dd HH:mm:ss') from dual
    ERROR at line 1:
    ORA-01810: format code appears twiceYou are using MM twice. MM means two digit months. You probably mean MI for minutes for the last one:
    SQL> select TO_DATE ( '2011-05-29 11:40:47', 'yyyy-MM-dd HH:mi:ss') from dual;
    TO_DATE(
    11-05-29
    SQL>Note that you have same mistake in your to_char as well, only this does not fail.
    The ORA-02063 just tells you that the error came from a different server, PULSARL, which means you must be selecting across a database link.
    Btw, what does this mean:
             AND a.usagedate >=
                   TO_CHAR (TO_DATE ( '2011-05-22 11:40:47', 'yyyy-MM-dd HH:mm:ss'))Why are you converting a string into DATE and then back into string? - What data type is usagedate?
    Regards
    Peter

  • Forms 6i format code - code formatter

    Hi,
    Is there any code fomatter pluggin for forms 6i??? Or anything else in order to format code in forms 6i???
    Regards,
    Santiago

    surprisingly, I use toad formatter. you have to copy and paste from forms builder to toad, format and copy paste back it does a real good job. only two hickups, as toad formatter is plain sql, a chunk of pl/sql has to have a begin and end around it. toad won't format without a big/end. IT also does not like the word mode used in :system.mode
    So you have to comment out that line of code for the formatter to run.

  • ORA-01820: format code cannot appear in date input format

    I don't understand why I am getting the error below. That should be valid, no?
    TIA for any insight.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SQL>
    SQL> select to_date('2004 01 3','yyyy mm w') from dual;
    select to_date('2004 01 3','yyyy mm w') from dual
    ERROR at line 1:
    ORA-01820: format code cannot appear in date input format
    SQL>
    SQL> select to_char(sysdate,'yyyy mm w') from dual;
    TO_CHAR(S
    2008 08 1

    LC,
    ORA-01820:     format code cannot appear in date input format
    Cause:     A date specification contained an invalid format code. Only the following may be specified when entering a date: year, month, day, hours, minutes, seconds, Julian day, A.M./P.M. and B.C./A.D.
    Action:     Remove the invalid format code from the date specification.
    Looking at the cause,you can't use a format code like W in the date format for converting a text to date. To_date doesn't accept it.
    Aman....

  • Format code cannot appear in date input format - IW related

    Hi,
    please explain what I'm doing wrong:
    SQL>  select to_char(sysdate, 'YYYY-IW') from  dual;
    TO_CHAR
    2010-48
    SQL>  select to_date('2010-22', 'YYYY-IW') from  dual;
    select to_date('2010-22', 'YYYY-IW') from  dual
    ERROR at line 1:
    ORA-01820: format code cannot appear in date input formatOracle 9.2 .
    Regards.
    Greg

    FIrst of all you should stay with the date format. Instead of converting it into a string you could TRUNCATE it to the first day of the Iso-Wekk.
    And to enable index usage you just have to put a certain range on your queries.
    example
    select *
    from t
    where col_date  >= trunc(sysdate, 'IW')  ;if col_date can hold values that are greater than syste. Or if you use another date value to compare than sysdate. Then you need to compare with a range. Just like this
    select *
    from t
    where col_date  >= trunc(sysdate, 'IW') 
    and col_date  < trunc(sysdate, 'IW')+7 ;If you want to input a certain WEEK and get all entries from that week you can start with the first day of the iso-Year and add the number of weeks to it.
    example using iso-Week 40
    select *
    from t
    where col_date  >= trunc(sysdate, 'IYYY')  + 7 * 40
    and col_date  < trunc(sysdate, 'IYYY')+7 * (40 +  1);However calendar arithmetic is complex. We have to be careful for special cases. For example the beginning of the ISO-Year 2011 is the 3rd Jan 2011. So if we run this logic on the first or second of January *2011* we would get the calendar week 40 from *2010*. This is probably not what you want.
    To take this into account we must make sure that we are using the proper year. There are several possibilities how to do it. In this case I choose to use the normal TRUNC to get the first day of the normal year (1.1.2011) then add a week and truncate again.
    example
    select *
    from t
    where col_date  >= trunc(trunc(sysdate,'YYYY)+7, 'IYYY')  + 7 * 40
    and col_date  < trunc(trunc(sysdate,'YYYY)+7, 'IYYY')+7 * (40 +  1);Edited by: Sven W. on Dec 3, 2010 8:52 AM

  • Format code Adobe Flash CC 2014 Broken

    I just upgraded from Adobe Flash CS6 to Adobe Flash CC 2014 and I noticed that Adobe changed how the "Format Code" command formats a Greensock code line (arrays). Does anyone have a workaround or solution?
    The way CS6 formated a line of Greensock code (my preferred way):
    TweenLite.to(mc, 1.5, {x:100, y:200, rotation: 360, ease:Expo.easeInOut, delay:1});
    How it formats now in CC 2014:
    TweenLite.to(mc, 1.5,
        x: 100,
        y: 200,
        rotation: 360,
        ease: Expo.easeInOut,
        delay: 1

    Usually the easiest fix for something that CC does differently is to revert to using the version that you are comfortable with... CS6 in this case.  Personally, I manage all the formatting of my code and don't rely on any built-in tool for it.  Built-in coding stuff in my opinion is always a mess - as evidenced by any html page ever produced by MS Word.
    I am not sure why you mention arrays since the formating only appears to have affected the Object that is defined as one of the tween's arguments.  The way it is formatted makes it easier to read the properties of the Object. I wouldn't say it is broken, it is just done the way someone who writes the program decided they like it to be shown.

  • Time format code

    hi
    how do i set the time format code to give milliseconds? if i use %s i get seconds, %M i get minutes etc.
    thanks
    Attachments:
    time format cade.vi ‏8 KB

    What I meant to say was the %u was the general format and you replace with a number. Do not use < or > in your format string. %3u is what you want to use.Message Edited by Dennis Knutson on 03-08-2005 10:45 AM

Maybe you are looking for

  • Using a DVD-R

    Can I use a S-Video to USB from a DVD player to my MacBook so that I can edit a DVD I burned of old family movies? I used an old VHS tape to record the DVD-R of the movies. I no longer have a VHS video camera. I tried using the DVD-R in the MacBook w

  • Returns for Third-Party Sales

    Hello Gurus Could anybody give a step by step procedure for How does Returns take place in Third party Sales?

  • Activity Monitor doesn't start after upgrade to 10.4.6

    Had quite a few challenges with the upgrade to 10.4.6 All Applications were moved to the Desktop and with the help of the Apple hotline I moved them all back in the correct location. Challenge now is that the Activity Monitor does not start up anymor

  • Sign-in page

    I am getting the My verizon page, however I am still on the old Verizon sign in page.  When will I get the new page or should I just go to internet tools and change my home page to the new one. (www22.verizon.com ) ?

  • Reinstalled os x, lost registration for quicktime

    reinstalled os x, lost registration for quicktime, is there a way to get it back. or do i need to purchase it again. i had set up in my e-mail a "from mac folder" that went away.