The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

latex editor

Last post 12-30-2008 3:41 PM by mrprogguy. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 12-30-2008 7:23 AM

    latex editor

    I found this in an latex editor source:

    Hundred of lines like  these:

    UserMenuName[0]=config->value("User/Menu1","").toString();
    UserMenuTag[0]=config->value("User/Tag1","").toString();
    UserMenuName[1]=config->value("User/Menu2","").toString();
    UserMenuTag[1]=config->value("User/Tag2","").toString();
    UserMenuName[2]=config->value("User/Menu3","").toString();
    UserMenuTag[2]=config->value("User/Tag3","").toString();
    UserMenuName[3]=config->value("User/Menu4","").toString();
    UserMenuTag[3]=config->value("User/Tag4","").toString();
    UserMenuName[4]=config->value("User/Menu5","").toString();
    UserMenuTag[4]=config->value("User/Tag5","").toString();
    UserMenuName[5]=config->value("User/Menu6","").toString();
    UserMenuTag[5]=config->value("User/Tag6","").toString();
    UserMenuName[6]=config->value("User/Menu7","").toString();
    UserMenuTag[6]=config->value("User/Tag7","").toString();
    UserMenuName[7]=config->value("User/Menu8","").toString();
    UserMenuTag[7]=config->value("User/Tag8","").toString();
    UserMenuName[8]=config->value("User/Menu9","").toString();
    UserMenuTag[8]=config->value("User/Tag9","").toString();
    UserMenuName[9]=config->value("User/Menu10","").toString();
    UserMenuTag[9]=config->value("User/Tag10","").toString();
    UserToolName[0]=config->value("User/ToolName1","").toString();
    UserToolCommand[0]=config->value("User/Tool1","").toString();
    UserToolName[1]=config->value("User/ToolName2","").toString();
    UserToolCommand[1]=config->value("User/Tool2","").toString();
    UserToolName[2]=config->value("User/ToolName3","").toString();
    UserToolCommand[2]=config->value("User/Tool3","").toString();
    UserToolName[3]=config->value("User/ToolName4","").toString();
    UserToolCommand[3]=config->value("User/Tool4","").toString();
    UserToolName[4]=config->value("User/ToolName5","").toString();
    UserToolCommand[4]=config->value("User/Tool5","").toString();
    </div><p>

    And this whenever some global options changed:

     LatexEditorView *temp = new LatexEditorView( EditorView);
    temp=currentEditorView();
    FilesMap::Iterator it;
    for( it = filenames.begin(); it != filenames.end(); ++it )
    {

    ...&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;
    }
    EditorView-&gt;setCurrentIndex(EditorView-&gt;indexOf(temp));

    </p>

  • 12-30-2008 10:00 AM In reply to

    Re: latex editor

     Nice html codes u got there.

  • 12-30-2008 10:12 AM In reply to

    Re: latex editor

     Yes, the real wtf is the forum. I clicked on edit to replace the entitite, but they aren't show in the input field

  • 12-30-2008 12:11 PM In reply to

    • menta
    • Top 500 Contributor
    • Joined on 12-15-2008
    • Posts 64

    Re: latex editor

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    MENTA!
    Filed under:
  • 12-30-2008 12:27 PM In reply to

    Re: latex editor

    menta:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
  • 12-30-2008 12:31 PM In reply to

    • menta
    • Top 500 Contributor
    • Joined on 12-15-2008
    • Posts 64

    Re: latex editor

    Your sarcasm is cliche'

    bstorer:

    menta:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    d.
    MENTA!
    Filed under:
  • 12-30-2008 12:32 PM In reply to

    • menta
    • Top 500 Contributor
    • Joined on 12-15-2008
    • Posts 64

    Re: latex editor

    bstorer:

    menta:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    Your sarcasm is cliched.

     

    MENTA!
    Filed under:
  • 12-30-2008 1:29 PM In reply to

    Re: latex editor

    menta:

    Your sarcasm is cliche'

    bstorer:

    menta:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    d.
    Quoted for fail.
  • 12-30-2008 1:36 PM In reply to

    • menta
    • Top 500 Contributor
    • Joined on 12-15-2008
    • Posts 64

    Re: latex editor

     

    Yuo loose becse i beet you too it.

    MENTA!
    Filed under:
  • 12-30-2008 3:41 PM In reply to

    Re: latex editor

    Could you two get a room, please?

Page 1 of 1 (10 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems