خرید بک لینک

Vote count: 0

I'm trying to build a very simple text/code editer, and I want to keep the indent from the last line typed. So I need a way to carry over the indent from the last line to this line. For example say I have code like this:

void Method() {
  Console.Write("Test");
}

And I want it to look like this:

void Method() {
  Console.Write("Test");
  next line of code at the same indent level.
}

How can I do this? Code examples would be nice.

Thanks.

asked 1 min ago

برچسب: how to get rid of ants,how to get a passport,how to get rid of fleas,how to get rid of acne,how to get away with a murderer,how to get rid of lice,how to get rid of bed bugs,how to get rid of flies,how to get ios 10,how to get rid of gnats, نویسنده: استخدام کار تاريخ: سه شنبه 19 مرداد 1395 ساعت: 11:25

صفحه بندی