Advertisement
6_2008-2009 Custom Controls/ Forms/ Menus #203135

Codebox with Line Numbers

This is a rich-text-box with a built-in line-number panel on the left. Typical use would be for a script editor language IDE. I Couldn't find a decent one on here that did this, so I spent some time doing it myself, and passing it on for you to use (and improve on, of course). It is a pretty basic control, but I did make into a control so you can just pop it onto a form and go (of course, source code for control is included). You can control the Line Number panel width, backcolor and forecolor, along with all textbox stuff (uses RTF in case you want to use my syntax code colorizer submission). The Line number panel automatically adjusts its font to be the same name/size/etc., as the text box so that they line up properly. Hope you find it helpful - if so, votes are always appreciated (kind of makes me feel like it was time well spent).

AI

ملخص الذكاء الاصطناعي: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

كود المصدر
original-source
Upload
التعليقات الأصلية (3)
مسترجع من Wayback Machine