FireFox and TinyForum

Posts   
 
    
omar avatar
omar
User
Posts: 569
Joined: 15-Oct-2004
# Posted on: 24-Jan-2006 08:07:40   

Frans... its been annoying me for some time. I remeber when I first started posting on this Forum that I could highlight my text and then click on Bold or Underline and my highlighted text would be surrounded with the necessery tags. Now, if I do the same, the tags get written at the end of my text and I have to do the rest manually... another issue, when posting code. Usually the code has tabs and spaces that make readable but surronding it with the code tag does nothing more than put it in a box and the code looses all indentation spacing that it becomes difficult to read and follow specially if it was a lengthy listing of code.

can you please find time to fix these annoyances... I for one spend so much time reading and posting here that I feel fixing such issues would be greatly appreciated...

NOTE: I am using the latest FireFox as my browser and I don't if the other browsers are suffering from the same issues

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39799
Joined: 17-Aug-2003
# Posted on: 24-Jan-2006 08:55:06   

omar wrote:

Frans... its been annoying me for some time. I remeber when I first started posting on this Forum that I could highlight my text and then click on Bold or Underline and my highlighted text would be surrounded with the necessery tags. Now, if I do the same, the tags get written at the end of my text and I have to do the rest manually...

I use firefox for a long time (since 0.6 or so), and I know what you mean. When I wrote tinyforum, I couldn't find a way to position the cursor at a given spot and insert the tags. The code I use now is only working in IE, not in Firefox.

The editor is now a textbox. It can be solved by using an iframe, like the wysiwyg editors use. It's a little tough to program though, as it is javascript and not my field, but I'll give it a try.

another issue, when posting code. Usually the code has tabs and spaces that make readable but surronding it with the code tag does nothing more than put it in a box and the code looses all indentation spacing that it becomes difficult to read and follow specially if it was a lengthy listing of code.

The parser converts tabs to 4   characters now, though it doesn't do anything with spaces. On a dutch forum I visit regularly, they now use divs with <pre></pre>, which is better. I could convert code blocks to pre blocks and use a proportional font, which would solve it. I'll look into that too (coming weekend).

I'll then also try to fix an issue with the UBB parser, where if it finds an error it doesn't re-tokenize the input. (like a string without a closing double quote)

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39799
Joined: 17-Aug-2003
# Posted on: 29-Jan-2006 00:49:38   

This is now fixed. simple_smile

Frans Bouma | Lead developer LLBLGen Pro
omar avatar
omar
User
Posts: 569
Joined: 15-Oct-2004
# Posted on: 29-Jan-2006 18:19:16   

It works_like_ a charm

   Public Enum DataFormCommand
      None = 0
      NewWindow
      PrintPreview
      Print
      RunAs
      Cut
      Copy
      Paste
      ClearAllControls
      ClearData
      NewData
      LoadUsingFilterBucket
      LoadUsingBuildFilterFromCurrent
      LoadUsingBuildFilterFromCurrentWithPosted
      LoadUsingBuildFilterFromCurrentWithUnposted
      EditData
      CancelEdit
      SaveData
      DeleteData
      FindData
      RefreshData
      Help
      ResetWindowSize
   End Enum