Electronic Circuits and Projects Forum



2 issues (sorting posts and select code)

  1. #1
    panic mode panic mode is offline

    2 issues (sorting posts and select code)

    hi everyone,

    i like the site a lot but if anyone is looking for ideas to make some changes or improvement, maybe consider two things that i run into:

    1. code surrounded by CODE tag displays as expected but selecting and copying larger code samples could be simpler. for example clicking into code and typing CTRL+A selects everything on a page instead of all code. is there an easy way out? perhaps textbox or a button "copy all code"?

    2. when posting reply, i tend to check if original poster added more detail. due dynamics of the site where new posts are added all the time, it is easy to loose track of the thread. what i do is check "my posts". this almost does the job but it does not give me option how to sort them. it goes by latest post (which is usually fine) but i wouldn't mind more control (sort posts by time of my post, sort by number of replies etc.).

    thank you

  2. #2
    jpanhalt jpanhalt is offline
    Re:code -- I put the cursor in the code box and click ctrl+A, copy. Then paste into notebook or whatever code editor you use.

    John
    0

  3. Thread Starter #3
    panic mode panic mode is offline
    when i do that, Ctrl+A selects not only text within code tags, but the entire page, hence copying and pasting to notepad with this method produces huge mess, too huge to clean by hand. it is easier to use mouse and select code by hand, then copy and paste. btw, i'm using Chrome, not sure if other browsers behave differently.
    0

  4. #4
    jpanhalt jpanhalt is offline
    The click on the first character to set the cursor, then scroll to the last character, shift+click to select the whole code block, etc. I guess that is similar to what you are doing. At least it works

    I use Chrome too.

    John
    0
    Last edited by jpanhalt; 22nd April 2012 at 10:08 PM.

  5. Thread Starter #5
    panic mode panic mode is offline
    Quote Originally Posted by jpanhalt View Post
    The click on the first character to set the cursor, then scroll to the last character, shift+click to select the whole code block, etc. I guess that is similar to what you are doing. At least it works

    I use Chrome too.

    John
    that IS what i do, i first click inside code, then press Ctrl+A and entire screen gets selected.
    here cursor did't show up in screenshot so i doubleclicked on a word in code block (which highlighted it) and then pressed Ctrl+A:

    BEFORE CTRL+A:


    AFTER CTRL+A:
    0

  6. #6
    jpanhalt jpanhalt is offline
    That is not what I said in my second post. Don't click ctrl +A

    John
    0

  7. Thread Starter #7
    panic mode panic mode is offline
    sorry John,

    misunderstanding - i know i can do that - and i do - but... i don't quite like it
    what i would like is - eliminate scrolling.
    0

Tags
Similar Threads
Thread Starter Forum Replies Last Post
Issues with PIC16F877A and LCD display... si2030 Microcontrollers 19 10th April 2010, 09:31 AM
Changing and modifying Code divit Microcontrollers 5 19th November 2008, 07:10 AM
Arm 7t and C++ code Gaza2k1 ARM 5 21st November 2007, 10:07 PM
need help with a small doubt with PIC and verilog code sal Microcontrollers 6 9th February 2007, 03:24 PM
Start up and Initialization code Bella Microcontrollers 0 29th October 2003, 02:38 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.08452 seconds      Memory: 7,504 KB      Queries: 16      Templates: 0